0👍
Remove the id=”character-sheet” from Master.vue
In app.js use as follows…..
Vue.component('master', require('./components/layout/Master.vue').default);
const app = new Vue({
el: '#character-sheet' });
Run the command: npm run dev
👤joy
- [Vuejs]-How to force VueJS not to produce a "*, ::after, ::before" element in css
- [Vuejs]-Vue JS Encoding is changed in child components
0👍
Your HTML Id is not quoted.
Change <div id=character-sheet>
To <div id="character-sheet">
0👍
id must be unique, you’re putting two elements with same id nested. Try not putting the component inside that tag.
...
<body>
<master></master>
<link rel="js" href="{{ asset('js/app.js') }}">
</body>
...
Source:stackexchange.com