chore: Rename the website directory to docs

This commit is contained in:
vben
2024-08-01 21:05:31 +08:00
parent 4a7a4f97ee
commit 06ad5ad871
73 changed files with 154 additions and 374 deletions

View File

@@ -0,0 +1,33 @@
# Vite Config
项目封装了一层vite配置并集成了一些插件方便在多个包以及应用内复用使用方式如下
## 应用
```ts
// vite.config.mts
import { defineConfig } from '@vben/vite-config';
export default defineConfig(async () => {
return {
application: {},
// vite配置参考vite官方文档进行覆盖
vite: {},
};
});
```
## 包
```ts
// vite.config.mts
import { defineConfig } from '@vben/vite-config';
export default defineConfig(async () => {
return {
library: {},
// vite配置参考vite官方文档进行覆盖
vite: {},
};
});
```