You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`ERROR in ./src/main.js
Module not found: Error: Can't resolve './App' in 'D:\web_develop_projects\projects\smart_gan\helpers\vuex_router\simple\src'
@ ./src/main.js 4:0-24
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
ERROR in ./src/router/index.js
Module not found: Error: Can't resolve '@/pages/CartPage' in 'D:\web_develop_projects\projects\smart_gan\helpers\vuex_router\simple\src\router'
@ ./src/router/index.js 3:0-40
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
ERROR in ./src/router/index.js
Module not found: Error: Can't resolve '@/pages/HomePage' in 'D:\web_develop_projects\projects\smart_gan\helpers\vuex_router\simple\src\router'
@ ./src/router/index.js 4:0-40
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
ERROR in ./src/router/index.js
Module not found: Error: Can't resolve '@/pages/ProductPage' in 'D:\web_develop_projects\projects\smart_gan\helpers\vuex_router\simple\src\router'
@ ./src/router/index.js 5:0-46
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
ERROR in ./src/store/cart.js
Module not found: Error: Can't resolve '@/api/shop' in 'D:\web_develop_projects\projects\smart_gan\helpers\vuex_router\simple\src\store'
@ ./src/store/cart.js 3:0-30
@ ./src/store/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
ERROR in ./src/store/products.js
Module not found: Error: Can't resolve '@/api/shop' in 'D:\web_develop_projects\projects\smart_gan\helpers\vuex_router\simple\src\store'
@ ./src/store/products.js 1:0-30
@ ./src/store/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
`
The text was updated successfully, but these errors were encountered:
Please help me resolve this problem
I try install new project with simple version
$ npm install -g vue-cli
$ vue init webpack-simple my-project
I add script src="/dist/build.js"
index.html
<title>simple</title> <script src="/dist/build.js"></script> ``
and install all plagins router vuex ...
package.json
{ "name": "simple", "description": "A Vue.js project", "version": "1.0.0", "author": "", "private": true, "scripts": { "dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot", "build": "cross-env NODE_ENV=production webpack --progress --hide-modules" }, "dependencies": { "vue": "^2.2.2", "vue-router": "^2.3.0", "vuex": "^2.3.0", "vuex-router-sync": "^4.1.2" }, "devDependencies": { "babel-core": "^6.0.0", "babel-loader": "^6.0.0", "babel-preset-env": "^1.5.1", "cross-env": "^3.0.0", "css-loader": "^0.25.0", "file-loader": "^0.9.0", "vue-loader": "^12.1.0", "vue-template-compiler": "^2.3.3", "webpack": "^2.6.1", "webpack-dev-server": "^2.4.5" } }
but I resive errors
`ERROR in ./src/main.js
Module not found: Error: Can't resolve './App' in 'D:\web_develop_projects\projects\smart_gan\helpers\vuex_router\simple\src'
@ ./src/main.js 4:0-24
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
ERROR in ./src/router/index.js
Module not found: Error: Can't resolve '@/pages/CartPage' in 'D:\web_develop_projects\projects\smart_gan\helpers\vuex_router\simple\src\router'
@ ./src/router/index.js 3:0-40
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
ERROR in ./src/router/index.js
Module not found: Error: Can't resolve '@/pages/HomePage' in 'D:\web_develop_projects\projects\smart_gan\helpers\vuex_router\simple\src\router'
@ ./src/router/index.js 4:0-40
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
ERROR in ./src/router/index.js
Module not found: Error: Can't resolve '@/pages/ProductPage' in 'D:\web_develop_projects\projects\smart_gan\helpers\vuex_router\simple\src\router'
@ ./src/router/index.js 5:0-46
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
ERROR in ./src/store/cart.js
Module not found: Error: Can't resolve '@/api/shop' in 'D:\web_develop_projects\projects\smart_gan\helpers\vuex_router\simple\src\store'
@ ./src/store/cart.js 3:0-30
@ ./src/store/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
ERROR in ./src/store/products.js
Module not found: Error: Can't resolve '@/api/shop' in 'D:\web_develop_projects\projects\smart_gan\helpers\vuex_router\simple\src\store'
@ ./src/store/products.js 1:0-30
@ ./src/store/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
`
The text was updated successfully, but these errors were encountered: