I am beginner to vue js, not sure i am asking correct or not.
I want to make following type of structure for my Laravel 5.3 - Vue Js App.
my-vue.js
Vue.component('my-component', { template: 'template from Catgory.Vue' }) new Vue({ el: '#example' })
Category.vue
<template> <div> // some code goes here </div> </template>
index.blade.php
<div id="example"> <my-component></my-component> </div>
How can i use template from Category.vue in template attribute of Vue.component? Or Suggest me better approach.
This link can be useful
Category.html.js