-
Notifications
You must be signed in to change notification settings - Fork 19
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
Docs: nuxt examples & Vuejs fix #6
base: main
Are you sure you want to change the base?
Conversation
I dont think setting the port to 80 is required for this. Any port should work since it runs in a container anyways. |
80 is the default port for NGINX which serves the files in this case. Setting it to anything else will result in a bad gateway error. I've tested 3000 and 81 just in case. |
Oh so thats only an internal port then? |
Yeah exactly, since the container exposes port 80 the domain needs to be configured to point there |
I tested and both works, awesome Can you change npm to pnpm? is more fast than npm |
Great! Changed the example to |
With pnpm you can drop the run so its just |
I've added examples for deploy a Nuxt site both with server side rendering and as a static stite. Also, solved an issue with the VueJS docs where the wrong start command was written down.