Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue build src/main.js --prod cant resolve @/components/Hello #422

Closed
steffanhalv opened this issue Mar 31, 2017 · 2 comments
Closed

vue build src/main.js --prod cant resolve @/components/Hello #422

steffanhalv opened this issue Mar 31, 2017 · 2 comments

Comments

@steffanhalv
Copy link

steffanhalv commented Mar 31, 2017

vue build src/main.js --prod doesnt build because it cant resolve the include path '@/component/Hello'

Using npm 4, latest vue-cli and it happens on fresh install of vue init webpack my-project

npm run dev works just fine

posva added a commit to posva/vue-cli that referenced this issue Apr 1, 2017
Closes vuejs#422
This makes it easier to combine with the official webpack template
@Sghazzawi
Copy link

I am experiencing the same issue, any update on this?

egoist pushed a commit that referenced this issue Jun 7, 2017
* Add an alias from '@' to src

Closes #422
This makes it easier to combine with the official webpack template

* Update vue-build
@mcescalante
Copy link

mcescalante commented Aug 22, 2017

EDIT: I was being dumb. Solution: run npm run build instead of trying to run vue build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants