Closed Insolita closed 6 years ago
Can you raise to latest version ?
Same here.
Do you have made alias to resolve in webpack
resolve: {
extensions: ['.js', '.json', '.vue'],
alias: {
'vue$': 'vue/dist/vue.esm.js'
}
},
Yes.
No build bugs in windows OS... Exception throwed only in linux.
For resolve this problem, add next alias to webpack config:
'Vue$': 'vue/dist/vue.esm.js',
See my solution:
resolve: { extensions: ['.js', '.vue', '.json'], alias: { 'vue$': 'vue/dist/vue.esm.js', 'Vue$': 'vue/dist/vue.esm.js', '@': resolve('src'), }
Vue version 2.5.13 plugin version 0.1.0 node version 0.9.4 webpack version 5.6.0 os: archlinux ` ERROR in ./node_modules/vue2-simplert-plugin/dist/vue2-simplert-plugin.js Module not found: Error: Can't resolve 'Vue' in '/node_modules/vue2-simplert-plugin/dist' @ ./node_modules/vue2-simplert-plugin/dist/vue2-simplert-plugin.js 2:82-96
This dependency was not found:
To install it, you can run: npm install --save Vue
`
Usage as in documentation