0👍
You don’t use relative paths with node_modules
.
Try using an import
statement:
import Vue from 'vue'
new Vue({ el: '#app' })
Or better yet, use the Vue CLI and run vue create <project-name>
. This way you can use Single-File-Components and all the scaffolding is handled for you.
Source:stackexchange.com