Skip to content

vue init webpack demo , router is history, npm run build,production environment Can't run??? #650

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

Closed
wwb568109135 opened this issue Nov 21, 2017 · 2 comments

Comments

@wwb568109135
Copy link

(1) vue init webpack demo
(2) router is history,
(3) npm run build,
(4) production environment
Can't run

why ???

@posva
Copy link
Member

posva commented Nov 21, 2017

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server, gitter or StackOverflow.


You need to serve the generated dist folder with a static web server. You can use serve:

npm i -g serve
serve dist

@posva posva closed this as completed Nov 21, 2017
@wwb568109135
Copy link
Author

sorry , The problem has been solved

thank you !!

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

2 participants