mirror of
https://github.com/mantinedev/next-app-template.git
synced 2026-06-22 04:11:26 +10:00
b3356591b7f95157e772c7c03670d86e7a9c06da
Mantine Next.js template
This is a template for Next.js app router + Mantine. If you want to use pages router instead, see next-pages-template.
Features
This template comes with the following features:
- PostCSS with mantine-postcss-preset
- TypeScript
- Storybook
- Jest setup with React Testing Library
- Oxlint setup for TypeScript and React sources
npm scripts
Build and dev scripts
dev– start dev serverbuild– bundle application for productionanalyze– analyzes application bundle with @next/bundle-analyzer
Testing scripts
typecheck– checks TypeScript typeslint– runs oxlint and stylelintformat:test– checks files with oxfmtjest– runs jest testsjest:watch– starts jest watchtest– runsjest,format:test,lintandtypecheckscripts
Other scripts
storybook– starts storybook dev serverstorybook:build– build production storybook bundle tostorybook-staticformat:write– formats all files with oxfmt
Languages
TypeScript
81.9%
JavaScript
15.8%
CSS
2.3%