快速开始
快速开始使用本产品的完整指南
快速开始
欢迎使用本产品!本指南将帮助您快速上手。
环境要求
在开始之前,请确保您的开发环境满足以下要求:
- Node.js 18.0 或更高版本
- npm 或 pnpm 包管理器
- Git 版本控制
安装
运行项目
安装完成后,运行以下命令启动开发服务器:
下一步
现在您已经成功运行了项目,接下来可以:
定制化修改
修改网站配色
1、选择一个 shadcn 主题调试器
2、为你的项目调制一套主题配色:
3、粘贴主题样式到项目根目录文件:theme.css
4、重新进入项目预览页面,即可看到你定制的主题
修改配置内容
开发环境的配置文件是:.env.development,线上环境的配置文件是:.env.production
请根据项目实际情况,配置这两个文件的内容。配置参考:
- 数据库配置
- 登录鉴权
- 数据统计
- 支付
- 文件存储
文档与资源
- Mantine v8 文档(主题定制):https://mantine.dev/theming/theme-object
- 颜色系统与调色板:https://mantine.dev/colors-generator/ (在线生成 10 阶调色板)
- 深色模式/配色方案:https://mantine.dev/theming/color-schemes/
- 示例仓库(官方):https://github.com/mantinedev/mantine/tree/master/apps
Showcase (开源主题与模板)
-
Awesome Mantine(社区维护可参考):https://github.com/xiaohanyu/awesome-mantine.
-
docmost - An open-source alternative to Confluence and Notion.
-
homarr - A simple, yet powerful dashboard for your server
-
KamousAI - Language Learning Tools, uplevel your language skills with AI
-
local-weather - A weather app using Next.js, Mantine, Edge API Routes, and the OpenWeatherMap and Google Maps API's
-
mantine-analytics-dashboard - A free, open source, Next 14, React 18 admin dashboard template created using Mantine 7
-
Mantine Extensions - Hub of extensions designed to enhance the functionality and aesthetics of the Mantine UI library
-
MantineHub - A tool to easily add modern, pre-configured themes (inspired by Shadcn) to your Mantine projects
-
Mantine Tweaker - A mantine theme tweaker
-
moonlit - React music player with customizable experience
-
ryot - A self hosted platform for tracking various facets of your life - media, fitness etc
-
Titanium - Landing page blocks using Mantine
-
UptimeFlare - Free and serverless uptime monitoring / status page on Cloudflare Workers, with Geo-specific checks