Carson 1b37e882bc feat: assets | 4 months ago | |
---|---|---|
.vitepress | 4 months ago | |
assets | 4 months ago | |
components | 4 months ago | |
pages | 4 months ago | |
plugins | 5 months ago | |
public | 5 months ago | |
utils | 4 months ago | |
.env.example | 4 months ago | |
.gitignore | 4 months ago | |
README.md | 4 months ago | |
package-lock.json | 4 months ago | |
package.json | 4 months ago | |
tsconfig.json | 4 months ago | |
vite-env.d.ts | 4 months ago |
>= 18
npm i
npm run docs:dev
把需要新增的文档放在 pages/docs/
pages/{语言}/docs/
下,必须为 markdown 文档
element-ui plus
主要是 vitepress 和 element-ui 的样式变量覆盖
使用 unplugin-icons 和 iconify
导入组件使用
import IconNotebook from "~icons/ccrbi-plain/notebook";
<IconNotebook color="blue" />
如果要新增一个单独的icon组,需要编辑config.mts vite.Icons里面的内容