You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was following the static export tutorial. On the step to generate the individual post pages, after modifying the next.config.js, when running npm run export the generated static .html files all have empty h1 elements. When loading the index page and using client-based navigation, the titles appear, but only the post body is shown on reload of the post page.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
vercel
locked as resolved and limited conversation to collaborators
Jan 31, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Examples bug report
Example name
E1-static-export
Describe the bug
I was following the static export tutorial. On the step to generate the individual post pages, after modifying the next.config.js, when running
npm run export
the generated static .html files all have emptyh1
elements. When loading the index page and using client-based navigation, the titles appear, but only the post body is shown on reload of the post page.To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
git clone https://github.com/zeit/next-learn-demo.git
npm install
npm run build
npm run export
cd out
serve -p 8080
Expected behavior
The titles specified in the next.config.js should have been baked into the static .html files.
System information
The text was updated successfully, but these errors were encountered: