1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/only-client-render-external-dependencies
2017-11-05 19:47:12 +01:00
..
pages Make sure examples adhere to code style 2017-11-05 19:47:12 +01:00
package.json only-client-render-external-dependencies example (#3229) 2017-11-05 17:20:24 +01:00
README.md only-client-render-external-dependencies example (#3229) 2017-11-05 17:20:24 +01:00

Hello World example

Only client render for external dependencies

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/only-client-render-external-dependencies
cd only-client-render-external-dependencies

Install it and run:

npm install
npm run dev

Deploy it to the cloud with now (download)

now

The idea behind the example

This example shows how to use an external dependency that only allows client-render.