This is a template for Next.js app router + Mantine. If you want to use pages router instead, see next-pages-template.
This template comes with the following features:
- PostCSS with mantine-postcss-preset
- TypeScript
- Storybook
- Jest setup with React Testing Library
- ESLint setup with eslint-config-mantine
dev
โ start dev serverbuild
โ bundle application for productionanalyze
โ analyzes application bundle with @next/bundle-analyzer
typecheck
โ checks TypeScript typeslint
โ runs ESLintprettier:check
โ checks files with Prettierjest
โ runs jest testsjest:watch
โ starts jest watchtest
โ runsjest
,prettier:check
,lint
andtypecheck
scripts
storybook
โ starts storybook dev serverstorybook:build
โ build production storybook bundle tostorybook-static
prettier:write
โ formats all files with Prettier