Skip to content

minimal boilerplate for building React applications in nextjs

Notifications You must be signed in to change notification settings

andrewwong97/nextjs-express-boilerplate

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

Watchers

Forks

Releases

No releases published

Packages

No packages published