A simple Next.js project set-up with linting using the Devine eslint preset.
I updated Next.js to 2.0.0-beta.25 which allows custom document markup and the implementation of writing Sass instead of JavaScript styles.
- Write Sass in the css folder (gets compiled inline in the section of the document)
- Custom document markup allows you to add components to every page of your app (header, footer, etc.)
While working on a side project I was looking for a way to use server-side rendering for my React.js application. I stumbled upon this article about Next.js by ZEIT.
I was amazed by the built in features and ease of use, so I decided to make this simple boilerplate for my fellow students to tinker with.