docs: 优化三方依赖名称大小写
This commit is contained in:
parent
d7dc81e7ad
commit
133234469a
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
## ⚡ Introduction
|
## ⚡ Introduction
|
||||||
|
|
||||||
v3-admin-vite is a free and open source middle and background management system basic solution, based on mainstream framework such as Vue3, TypeScript, Element-Plus, Pinia and Vite.
|
v3-admin-vite is a free and open source middle and background management system basic solution, based on mainstream framework such as Vue3, TypeScript, Element Plus, Pinia and Vite.
|
||||||
|
|
||||||
- Vue-Cli 5.x: [v3-admin](https://github.com/un-pany/v3-admin)
|
- Vue-Cli 5.x: [v3-admin](https://github.com/un-pany/v3-admin)
|
||||||
- Electron desktop: [v3-electron-vite](https://github.com/un-pany/v3-electron-vite)
|
- Electron desktop: [v3-electron-vite](https://github.com/un-pany/v3-electron-vite)
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
## ⚡ 简介
|
## ⚡ 简介
|
||||||
|
|
||||||
一个免费开源的中后台管理系统基础解决方案,基于 Vue3、TypeScript、Element-Plus、Pinia 和 Vite 等主流技术.
|
一个免费开源的中后台管理系统基础解决方案,基于 Vue3、TypeScript、Element Plus、Pinia 和 Vite 等主流技术.
|
||||||
|
|
||||||
- Vue-Cli 5.x 版: [v3-admin](https://github.com/un-pany/v3-admin)
|
- Vue-Cli 5.x 版: [v3-admin](https://github.com/un-pany/v3-admin)
|
||||||
- Electron 桌面版: [v3-electron-vite](https://github.com/un-pany/v3-electron-vite)
|
- Electron 桌面版: [v3-electron-vite](https://github.com/un-pany/v3-electron-vite)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "v3-admin-vite",
|
"name": "v3-admin-vite",
|
||||||
"version": "3.2.5",
|
"version": "3.2.5",
|
||||||
"description": "一个免费开源的中后台管理系统基础解决方案,基于 Vue3、TypeScript、Element-Plus、Pinia 和 Vite 等主流技术.",
|
"description": "一个免费开源的中后台管理系统基础解决方案,基于 Vue3、TypeScript、Element Plus、Pinia 和 Vite 等主流技术.",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "pany",
|
"name": "pany",
|
||||||
"email": "939630029@qq.com",
|
"email": "939630029@qq.com",
|
||||||
|
@ -6,7 +6,7 @@ const { initTheme } = useTheme()
|
|||||||
|
|
||||||
/** 初始化主题 */
|
/** 初始化主题 */
|
||||||
initTheme()
|
initTheme()
|
||||||
/** 将 Element-Plus 的语言设置为中文 */
|
/** 将 Element Plus 的语言设置为中文 */
|
||||||
const locale = zhCn
|
const locale = zhCn
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ import { type App } from "vue"
|
|||||||
import * as ElementPlusIconsVue from "@element-plus/icons-vue"
|
import * as ElementPlusIconsVue from "@element-plus/icons-vue"
|
||||||
|
|
||||||
export function loadElementPlusIcon(app: App) {
|
export function loadElementPlusIcon(app: App) {
|
||||||
/** 注册所有 Element-Plus Icon */
|
/** 注册所有 Element Plus Icon */
|
||||||
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
||||||
app.component(key, component)
|
app.component(key, component)
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,6 @@ import { type App } from "vue"
|
|||||||
import ElementPlus from "element-plus"
|
import ElementPlus from "element-plus"
|
||||||
|
|
||||||
export function loadElementPlus(app: App) {
|
export function loadElementPlus(app: App) {
|
||||||
/** Element-Plus 组件完整引入 */
|
/** Element Plus 组件完整引入 */
|
||||||
app.use(ElementPlus)
|
app.use(ElementPlus)
|
||||||
}
|
}
|
||||||
|
@ -61,6 +61,6 @@ VXETable.setup({
|
|||||||
})
|
})
|
||||||
|
|
||||||
export function loadVxeTable(app: App) {
|
export function loadVxeTable(app: App) {
|
||||||
/** Vxe-Table 组件完整引入 */
|
/** Vxe Table 组件完整引入 */
|
||||||
app.use(VXETable)
|
app.use(VXETable)
|
||||||
}
|
}
|
||||||
|
@ -102,7 +102,7 @@ export const constantRoutes: RouteRecordRaw[] = [
|
|||||||
component: () => import("@/views/table/element-plus/index.vue"),
|
component: () => import("@/views/table/element-plus/index.vue"),
|
||||||
name: "ElementPlus",
|
name: "ElementPlus",
|
||||||
meta: {
|
meta: {
|
||||||
title: "element-plus"
|
title: "Element Plus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -110,7 +110,7 @@ export const constantRoutes: RouteRecordRaw[] = [
|
|||||||
component: () => import("@/views/table/vxe-table/index.vue"),
|
component: () => import("@/views/table/vxe-table/index.vue"),
|
||||||
name: "VxeTable",
|
name: "VxeTable",
|
||||||
meta: {
|
meta: {
|
||||||
title: "vxe-table"
|
title: "Vxe Table"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
@import "./variables.css";
|
@import "./variables.css";
|
||||||
// Transition
|
// Transition
|
||||||
@import "./transition.scss";
|
@import "./transition.scss";
|
||||||
// Vxe-Table
|
// Vxe Table
|
||||||
@import "./vxe-table.scss";
|
@import "./vxe-table.scss";
|
||||||
// 注册多主题
|
// 注册多主题
|
||||||
@import "./theme/register.scss";
|
@import "./theme/register.scss";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/** Element-Plus 相关 */
|
/** Element Plus 相关 */
|
||||||
|
|
||||||
// 侧边栏的 item 的 popper
|
// 侧边栏的 item 的 popper
|
||||||
.el-popper {
|
.el-popper {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* VxeTable CSS 变量
|
* Vxe Table SCSS 变量
|
||||||
* 在此查阅所有可自定义的变量:https://github.com/x-extends/vxe-table/blob/master/styles/variable.scss
|
* 在此查阅所有可自定义的变量:https://github.com/x-extends/vxe-table/blob/master/styles/variable.scss
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* dark-blue 主题下的 ElementPlus CSS 变量
|
* dark-blue 主题下的 Element Plus CSS 变量
|
||||||
* 在此查阅所有可自定义的变量:https://github.com/element-plus/element-plus/blob/dev/packages/theme-chalk/src/common/var.scss
|
* 在此查阅所有可自定义的变量:https://github.com/element-plus/element-plus/blob/dev/packages/theme-chalk/src/common/var.scss
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/** 自定义 vxe-table 样式 */
|
/** 自定义 Vxe Table 样式 */
|
||||||
|
|
||||||
.vxe-grid {
|
.vxe-grid {
|
||||||
// 表单
|
// 表单
|
||||||
|
@ -44,7 +44,7 @@ const handleRolesChange = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div :key="'checkPermission' + key" class="margin-top">
|
<div :key="'checkPermission' + key" class="margin-top">
|
||||||
<el-tag type="info" size="large">
|
<el-tag type="info" size="large">
|
||||||
在某些情况下,不适合使用 v-permission。例如: Element-Plus 的 el-tab-pane 或 el-table-column 以及其它动态渲染 Dom
|
在某些情况下,不适合使用 v-permission。例如: Element Plus 的 el-tab-pane 或 el-table-column 以及其它动态渲染 Dom
|
||||||
的场景。你只能通过手动设置 v-if 来实现。
|
的场景。你只能通过手动设置 v-if 来实现。
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<el-tabs type="border-card" class="margin-top">
|
<el-tabs type="border-card" class="margin-top">
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
"types": [
|
"types": [
|
||||||
"node",
|
"node",
|
||||||
"vite/client",
|
"vite/client",
|
||||||
/** Element-Plus 的 Volar 插件支持 */
|
/** Element Plus 的 Volar 插件支持 */
|
||||||
"element-plus/global"
|
"element-plus/global"
|
||||||
],
|
],
|
||||||
/** baseUrl 用来告诉编译器到哪里去查找模块,使用非相对模块时必须配置此项 */
|
/** baseUrl 用来告诉编译器到哪里去查找模块,使用非相对模块时必须配置此项 */
|
||||||
|
@ -79,7 +79,7 @@ export default (configEnv: ConfigEnv): UserConfigExport => {
|
|||||||
/** 自动按需引入 (已更改为完整引入,所以注释了) */
|
/** 自动按需引入 (已更改为完整引入,所以注释了) */
|
||||||
// AutoImport({
|
// AutoImport({
|
||||||
// dts: "./types/auto-imports.d.ts",
|
// dts: "./types/auto-imports.d.ts",
|
||||||
// /** 自动按需导入 Element-Plus 相关函数,比如 ElMessage */
|
// /** 自动按需导入 Element Plus 相关函数,比如 ElMessage */
|
||||||
// resolvers: [ElementPlusResolver()],
|
// resolvers: [ElementPlusResolver()],
|
||||||
// /** 根据自动按需导入的相关 API,生成 .eslintrc-auto-import.json 文件供 Eslint 识别 */
|
// /** 根据自动按需导入的相关 API,生成 .eslintrc-auto-import.json 文件供 Eslint 识别 */
|
||||||
// eslintrc: {
|
// eslintrc: {
|
||||||
@ -90,7 +90,7 @@ export default (configEnv: ConfigEnv): UserConfigExport => {
|
|||||||
// }),
|
// }),
|
||||||
// Components({
|
// Components({
|
||||||
// dts: "./types/components.d.ts",
|
// dts: "./types/components.d.ts",
|
||||||
// /** 自动按需导入 Element-Plus 组件 */
|
// /** 自动按需导入 Element Plus 组件 */
|
||||||
// resolvers: [ElementPlusResolver()]
|
// resolvers: [ElementPlusResolver()]
|
||||||
// })
|
// })
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user