mirror of
https://github.com/un-pany/v3-admin-vite.git
synced 2025-04-20 10:59:21 +08:00
docs: 更新文档 & 链接
This commit is contained in:
parent
29a6ac416b
commit
97f47ef165
@ -2,7 +2,7 @@
|
||||
|
||||
一个免费开源的中后台管理系统基础解决方案,基于 Vue3、TypeScript、Element-Plus、Pinia 和 Vite 等主流技术.
|
||||
|
||||
模板代码是从 [v3-admin](https://github.com/un-pany/v3-admin) 迁移而来,脚手架从 Vue-Cli 5.x 切换到了 Vite 2.9.x,并作了一些繁琐的适配.
|
||||
模板代码是从 [v3-admin](https://github.com/un-pany/v3-admin) 迁移而来,脚手架从 Vue-Cli 5.x 切换到了 Vite 3.x,并作了一些繁琐的适配.
|
||||
|
||||
更推荐大家使用该 Vite 版本!以后的重心也会从 [v3-admin](https://github.com/un-pany/v3-admin) 偏向本仓库.
|
||||
|
||||
@ -52,7 +52,7 @@
|
||||
|
||||
```bash
|
||||
# 配置
|
||||
1. 安装 .vscode 中推荐的插件
|
||||
1. 一键安装 .vscode 目录中推荐的插件
|
||||
3. node 版本 16+
|
||||
4. pnpm 版本 7.x
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// See https://vuejs.org/v2/guide/transitions.html for detail
|
||||
// See https://staging-cn.vuejs.org/guide/built-ins/transition.html for detail
|
||||
|
||||
// fade
|
||||
.fade-enter-active,
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "esnext",
|
||||
/** https://vitejs.cn/guide/features.html#typescript-compiler-options */
|
||||
/** https://cn.vitejs.dev/guide/features.html#typescript-compiler-options */
|
||||
"useDefineForClassFields": true,
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
@ -13,7 +13,7 @@
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"sourceMap": true,
|
||||
"resolveJsonModule": true,
|
||||
/** https://vitejs.cn/guide/features.html#typescript-compiler-options */
|
||||
/** https://cn.vitejs.dev/guide/features.html#typescript-compiler-options */
|
||||
"isolatedModules": true,
|
||||
"esModuleInterop": true,
|
||||
"lib": [
|
||||
|
@ -4,7 +4,7 @@ import vue from "@vitejs/plugin-vue"
|
||||
import { createSvgIconsPlugin } from "vite-plugin-svg-icons"
|
||||
import Unocss from "unocss/vite"
|
||||
|
||||
/** 配置项文档:https://vitejs.dev/config */
|
||||
/** 配置项文档:https://cn.vitejs.dev/config */
|
||||
export default (): UserConfigExport => {
|
||||
return {
|
||||
/** 打包时根据实际情况修改 base */
|
||||
|
Loading…
x
Reference in New Issue
Block a user