rsnext/examples/with-react-helmet
2017-03-15 20:36:47 +01:00
..
pages An example with react-helmet (#1264) 2017-03-15 15:23:42 +01:00
package.json An example with react-helmet (#1264) 2017-03-15 15:23:42 +01:00
README.md An example with react-helmet (#1264) 2017-03-15 15:23:42 +01:00

react-helmet example

How to use

Download the example or clone the repo:

curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-react-helmet
cd with-react-helmet

Install it and run:

npm install
npm run dev

Or alternatively:

yarn
yarn run dev

Deploy it to the cloud with now (download)

now

Notes

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!" The rest is all up to you.