This is project was bootstrapped with betich's Next.js boilerplate template.
Below are ways to start your project with this boilerplate.
- Use
degitto clone the repo
npx degit betich/next-boilerplate your-app-name
cd your-app-name
git branch -m master main
npm i- Clone the repo with git
git clone https://github.com/betich/next-boilerplate your-app-name
cd your-app-name
npm i- Typescript alias paths
import { Header } from "@components/Main"
import { User } from "@types"We've added alias paths for
src/@types=>@typessrc/components=>@componentssrc/styles=>@stylessrc/elements=>@elementssrc/utils=>@utils
- Prettier
Prettier is a popular code formatting tool. You can customise how prettier works by editing the .prettierrc file.
- sass/scss
npm i sass -DNext.js will do the rest for you.
