Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mantinedev/next-pages-template
Mantine + Next.js pages router template
https://github.com/mantinedev/next-pages-template
nextjs react template
Last synced: about 21 hours ago
JSON representation
Mantine + Next.js pages router template
- Host: GitHub
- URL: https://github.com/mantinedev/next-pages-template
- Owner: mantinedev
- License: mit
- Created: 2021-06-23T18:00:36.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-12-24T08:30:05.000Z (19 days ago)
- Last Synced: 2025-01-04T08:09:32.729Z (8 days ago)
- Topics: nextjs, react, template
- Language: TypeScript
- Homepage: https://mantine.dev/guides/next/
- Size: 8.35 MB
- Stars: 483
- Watchers: 10
- Forks: 133
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-mantine - mantinedev/next-page-template - Mantine + Next.js pages router template (Boilerplates)
README
# Mantine Next.js template
This is a template for [Next.js](https://nextjs.org/) pages router + [Mantine](https://mantine.dev/).
If you want to use app router instead, see [next-app-template](https://github.com/mantinedev/next-app-template).## Features
This template comes with the following features:
- [PostCSS](https://postcss.org/) with [mantine-postcss-preset](https://mantine.dev/styles/postcss-preset)
- [TypeScript](https://www.typescriptlang.org/)
- [Storybook](https://storybook.js.org/)
- [Jest](https://jestjs.io/) setup with [React Testing Library](https://testing-library.com/docs/react-testing-library/intro)
- ESLint setup with [eslint-config-mantine](https://github.com/mantinedev/eslint-config-mantine)## npm scripts
### Build and dev scripts
- `dev` – start dev server
- `build` – bundle application for production
- `export` – exports static website to `out` folder
- `analyze` – analyzes application bundle with [@next/bundle-analyzer](https://www.npmjs.com/package/@next/bundle-analyzer)### Testing scripts
- `typecheck` – checks TypeScript types
- `lint` – runs ESLint
- `prettier:check` – checks files with Prettier
- `jest` – runs jest tests
- `jest:watch` – starts jest watch
- `test` – runs `jest`, `prettier:check`, `lint` and `typecheck` scripts### Other scripts
- `storybook` – starts storybook dev server
- `storybook:build` – build production storybook bundle to `storybook-static`
- `prettier:write` – formats all files with Prettier