Simple boilerplate of next.js. With material-ui, google analytics, customized export, a simple layout and module-resolver support. And the newest version of babel7 is imported. You could deploy it to github pages by travis easily as well.
The project mainly uses nextjs, material-ui and next-mui-helper.
https://thundermiracle.github.io/next-boilerplate
-
material-ui's theme
src/client/views/styles/theme.js
-
Google Analytics
config/client.js.
-
Layout injection
src/_app.js
-
Module resolve
.babelrc jsconfig.json
-
Deploy to github-pages or into sub folder
config/client.js [subfolder: true]
-
Deploy to Netlify
netlify.toml
This project is licensed under the terms of the MIT license.