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 the src
directory. Example:
src/components
=>@/components
src/styles
=>@/styles
src/elements
=>@/elements
src/utils
=>@/utils
- Prettier
Customize how prettier works by editing the .prettierrc
file.
- ESLint
Customize how eslint works by editing the .eslintrc.js
file.