Carson 3fe39bdcbe feat: resiponsive | 2 semanas atrás | |
---|---|---|
.vitepress | 2 semanas atrás | |
assets | 4 meses atrás | |
components | 2 semanas atrás | |
pages | 4 meses atrás | |
plugins | 4 meses atrás | |
public | 4 meses atrás | |
utils | 4 meses atrás | |
.env.example | 4 meses atrás | |
.gitignore | 4 meses atrás | |
README.md | 4 meses atrás | |
package-lock.json | 3 meses atrás | |
package.json | 3 meses atrás | |
tsconfig.json | 4 meses atrás | |
vite-env.d.ts | 4 meses atrás |
>= 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里面的内容