iamhosseindhv and oliviertassinari [examples] Fix Next.js warning "no title in _document.js" (#13415)
* Fix nextjs error 'no title in pages/_document' and undefined 'pageProps' in pages/_app

* getInitialProps works without
Latest commit fbc3807 Oct 28, 2018


Next.js example

How to use

Download the example or clone the repo:

curl https://codeload.github.com/mui-org/material-ui/tar.gz/master | tar -xz --strip=2  material-ui-master/examples/nextjs
cd nextjs

Install it and run:

npm install
npm run dev

The idea behind the example

Next.js is a framework for server-rendered React apps.