mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-13 00:45:47 +01:00
c2c4f3a9d13de3b56b5daae5feafa849d38345dd
Mantine Next Template
Get started with Mantine + Next with just a few button clicks.
Click Use this template button at the header of repository or follow this link and
create new repository with @mantine packages. Note that you have to be logged in to GitHub to generate template.
Features
This template comes with several essential features:
- Server side rendering setup for Mantine
- Color scheme is stored in cookie to avoid color scheme mismatch after hydration
- Storybook with color scheme toggle
- Jest with react testing library
- ESLint setup with eslint-config-mantine
npm scripts
Build and dev scripts
dev– start dev serverbuild– bundle application for productionexport– exports static website tooutfolderanalyze– analyzes application bundle with @next/bundle-analyzer
Testing scripts
typecheck– checks TypeScript typeslint– runs ESLintprettier:check– checks files with Prettierjest– runs jest testsjest:watch– starts jest watchtest– runsjest,prettier:check,lintandtypecheckscripts
Other scripts
storybook– starts storybook dev serverstorybook:build– build production storybook bundle tostorybook-staticprettier:write– formats all files with Prettier
Languages
TypeScript
98%
JavaScript
1.3%
SCSS
0.5%
Dockerfile
0.2%