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

Inclusion of a production server #49

Closed
microwavekonijn opened this issue Aug 24, 2020 · 3 comments
Closed

Inclusion of a production server #49

microwavekonijn opened this issue Aug 24, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@microwavekonijn
Copy link
Member

microwavekonijn commented Aug 24, 2020

The dev environment uses Vue cli for serving the app to a browser, however this will not do for production. As simple node or nginx server is needed to serve the app. A requirement could be that the app should be server side rendered, but it is not that important as most search engines are optimized to index SPA's nowadays.

@microwavekonijn microwavekonijn added the enhancement New feature or request label Aug 24, 2020
@Maelstromeous
Copy link
Member

@microwavekonijn can you point me to some documentation on how to do this for Vue?

@microwavekonijn
Copy link
Member Author

microwavekonijn commented Aug 24, 2020

Mostly it will be a static file server that has all the compile files, but where every url that doesn't point to a file is routed to the base html instance.

https://cli.vuejs.org/guide/deployment.html#docker-nginx
https://ssr.vuejs.org/

@Maelstromeous
Copy link
Member

Simple enough, I'll self assign

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

No branches or pull requests

2 participants