Closed
Description
Hi,
Thank you for the detailed tutorial!
I wanted to PR a tiny fix but it seems it's a bit complicated for Wiki pages, so I just wanted to let you know I got a ReferenceError for Vue that was fixed by adding window.Vue = Vue;
in index.js
.
So index.js
now looks like this:
window.$ = window.jQuery = require('jquery');
require('bootstrap-sass');
import Vue from 'vue';
import Demo from "./components/Demo.vue";
window.Vue = Vue;
const app = new Vue({
el: '#app',
components: {
Demo
}
});
Hope this helps and thank you again,
Zvi
Metadata
Metadata
Assignees
Labels
No labels