Skip to content

Repository files navigation

nextjs-scss-router-express

Boilerplate for NextJS separating CSS from components (avoids CSS-in-JS) and using Express-style routes. All the benefits of NextJS but separates styles from logic.

SCSS entrypoint is main.scss. Add routes in routes.js. Express entrypoint in server.js.

Dev

To quickly set up, use Yarn (npm install -g yarn), yarn install. Then yarn dev. image

Prod

For production: yarn build, yarn start.

About

minimal boilerplate for building React applications in nextjs

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages