MantineUI + Nextra
R
Renaudil y a 2 jours
0
Description
Get started with beautiful documentation on the Next.js App Router, Nextra, and MantineUI
npx boilerapp mantine-ui-nextra文档
Mantine Next.js + Nextra template
<img width="1536" height="1786" alt="SCR-20251103-jmsr" src="https://github.com/user-attachments/assets/11dd92b6-66d2-4ced-af19-62b5a30a9099" />This is a template for Next.js app router + Mantine + Nextra documentation site.
Features
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
- Provides API example in
/api/version
Nextra Features
- Nextra documentation site with Mantine theme
- Sync Dark mode between documentation and application (Mantine/Nextra)
- Customizable components in
componentsfolder - Provides new Navigation and Footer components for Nextra documentation site
Folder structure
components– shared components- you can use them in both documentation and application
- you may customize them to fit your needs
content– Nextra documentation site (.mdx and _meta.json files)
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 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
Prix
Gratuit