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

build --prod --serve for serving the compiled dist folder in production #324

Closed
xpepermint opened this issue Feb 1, 2017 · 3 comments
Closed

Comments

@xpepermint
Copy link

I would love to see this tool offering some sort of serve compiled static site feature.

Currently running the vue build ./src/index.js command start a development server. It would be great if you could add --prod --serve option or similar, which would build your application into the dist folder and then start a production server (like the serve package does).

@egoist
Copy link
Collaborator

egoist commented Feb 1, 2017

why not just use serve then?

@xpepermint
Copy link
Author

xpepermint commented Feb 1, 2017

Well I use it, yes, but because this tool is getting awesome with your build feature I hope we'll get the all-in-one package one day ;).

@egoist
Copy link
Collaborator

egoist commented Feb 1, 2017

no, I think we should keep vue-cli as small as possible. It's not a good idea to maintain an unneccessary feature which is well maintained by a 3rd-party library.

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