Server side rendered by default.
Automatic routing and code splitting, but requires a file structure.
Uses style-jsx package to style components.
- Create repo
- Create git ignore
-
npm init
-
npm install --save next react react-dom
- follow instructions to set up script section in package.json https://github.com/zeit/next.js/
npm run build
You need a node js running host, ship the contents and run
npm install npm start