Vue ‘export default’ vs ‘new Vue’
I just installed Vue and have been following some tutorials to create a project using the vue-cli webpack template. When it creates the component, I notice it binds our data inside of the following: export default { name: ‘app’, data: [] } Whereas in other tutorials I see data being bound from: new Vue({ el: … Read more