c3e5caf110
* docs(examples): improve DX while copy command to create new project * chore: apply code review Co-authored-by: Marcos Bérgamo <Marcos.Bergamo@refinitiv.com> Co-authored-by: JJ Kasper <jj@jjsweb.site> |
||
---|---|---|
.. | ||
pages | ||
.gitignore | ||
package.json | ||
README.md |
react-helmet example
This an minimalistic example of how to combine next.js and react-helmet.
The title of the page shall be changed to "Hello next.js!"
If you go to the page /about
, the title will be overridden to "About | Hello next.js!"
The rest is all up to you.
Deploy your own
Deploy the example using Vercel or preview live with StackBlitz
How to use
Execute create-next-app
with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example with-react-helmet with-react-helmet-app
yarn create next-app --example with-react-helmet with-react-helmet-app
pnpm create next-app --example with-react-helmet with-react-helmet-app
Deploy it to the cloud with Vercel (Documentation).