This is project was bootstrapped with betich's Next.js boilerplate template.
Below are ways to start your project with this boilerplate.
- Use
degit
to 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
=>@types
src/components
=>@components
src/styles
=>@styles
src/elements
=>@elements
src/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 -D
Next.js will do the rest for you.