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/router/index.js
Module not found: Error: Can't resolve '@/components/Hello' in '/home/ubuntu/workspace/gazpachoapp/src/router'
@ ./src/router/index.js 3:0-39
@ ./src/main.js
@ multi src/main.js
The if I change that line in src/router/index.js to:
import Hello from '../components/Hello'
it works, but when I build and start serving the dist folder it looks totally blank in the browser. Am I doing something wrong?
Thanks!
The text was updated successfully, but these errors were encountered:
the vue build command allows you to test and bundle libs easily, but the webpack template doesn't need it. Just use the npm run build command inside of it. You should read the template's readme too
I'm just getting started with
vue-cli
and wanted to try building an empty copy of thewebpack
template for deployment. This is what I did:That last command gives an error:
The if I change that line in
src/router/index.js
to:it works, but when I build and start serving the
dist
folder it looks totally blank in the browser. Am I doing something wrong?Thanks!
The text was updated successfully, but these errors were encountered: