Skip to content
Discussion options

You must be logged in to vote

You can use tools like serve to quickly host your static files:

Install serve globally (if you haven't already):

npm install -g serve

Navigate to your project directory and run:

serve out

or you can add following in your package.json script section

"serve": "next build && npx serve@latest out"

after that run
npm run serve or yarn serve

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mayur-1234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants