Template
1
0
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:
pany 2022-10-26 10:48:01 +08:00
parent d7dc81e7ad
commit 133234469a
16 changed files with 18 additions and 18 deletions

View File

@ -6,7 +6,7 @@
## ⚡ 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)
- Electron desktop: [v3-electron-vite](https://github.com/un-pany/v3-electron-vite)

View File

@ -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)
- Electron 桌面版: [v3-electron-vite](https://github.com/un-pany/v3-electron-vite)

View File

@ -1,7 +1,7 @@
{
"name": "v3-admin-vite",
"version": "3.2.5",
"description": "一个免费开源的中后台管理系统基础解决方案,基于 Vue3、TypeScript、Element-Plus、Pinia 和 Vite 等主流技术.",
"description": "一个免费开源的中后台管理系统基础解决方案,基于 Vue3、TypeScript、Element Plus、Pinia 和 Vite 等主流技术.",
"author": {
"name": "pany",
"email": "939630029@qq.com",

View File

@ -6,7 +6,7 @@ const { initTheme } = useTheme()
/** 初始化主题 */
initTheme()
/** 将 Element-Plus 的语言设置为中文 */
/** 将 Element Plus 的语言设置为中文 */
const locale = zhCn
</script>

View File

@ -2,7 +2,7 @@ import { type App } from "vue"
import * as ElementPlusIconsVue from "@element-plus/icons-vue"
export function loadElementPlusIcon(app: App) {
/** 注册所有 Element-Plus Icon */
/** 注册所有 Element Plus Icon */
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
app.component(key, component)
}

View File

@ -2,6 +2,6 @@ import { type App } from "vue"
import ElementPlus from "element-plus"
export function loadElementPlus(app: App) {
/** Element-Plus 组件完整引入 */
/** Element Plus 组件完整引入 */
app.use(ElementPlus)
}

View File

@ -61,6 +61,6 @@ VXETable.setup({
})
export function loadVxeTable(app: App) {
/** Vxe-Table 组件完整引入 */
/** Vxe Table 组件完整引入 */
app.use(VXETable)
}

View File

@ -102,7 +102,7 @@ export const constantRoutes: RouteRecordRaw[] = [
component: () => import("@/views/table/element-plus/index.vue"),
name: "ElementPlus",
meta: {
title: "element-plus"
title: "Element Plus"
}
},
{
@ -110,7 +110,7 @@ export const constantRoutes: RouteRecordRaw[] = [
component: () => import("@/views/table/vxe-table/index.vue"),
name: "VxeTable",
meta: {
title: "vxe-table"
title: "Vxe Table"
}
}
]

View File

@ -2,7 +2,7 @@
@import "./variables.css";
// Transition
@import "./transition.scss";
// Vxe-Table
// Vxe Table
@import "./vxe-table.scss";
// 注册多主题
@import "./theme/register.scss";

View File

@ -1,4 +1,4 @@
/** Element-Plus 相关 */
/** Element Plus 相关 */
// 侧边栏的 item popper
.el-popper {

View File

@ -1,5 +1,5 @@
/**
* VxeTable CSS 变量
* Vxe Table SCSS 变量
* 在此查阅所有可自定义的变量https://github.com/x-extends/vxe-table/blob/master/styles/variable.scss
*/

View File

@ -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
*/

View File

@ -1,4 +1,4 @@
/** 自定义 vxe-table 样式 */
/** 自定义 Vxe Table 样式 */
.vxe-grid {
// 表单

View File

@ -44,7 +44,7 @@ const handleRolesChange = () => {
</div>
<div :key="'checkPermission' + key" class="margin-top">
<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 来实现
</el-tag>
<el-tabs type="border-card" class="margin-top">

View File

@ -21,7 +21,7 @@
"types": [
"node",
"vite/client",
/** Element-Plus Volar */
/** Element Plus Volar */
"element-plus/global"
],
/** baseUrl 使 */

View File

@ -79,7 +79,7 @@ export default (configEnv: ConfigEnv): UserConfigExport => {
/** 自动按需引入 (已更改为完整引入,所以注释了) */
// AutoImport({
// dts: "./types/auto-imports.d.ts",
// /** 自动按需导入 Element-Plus 相关函数,比如 ElMessage */
// /** 自动按需导入 Element Plus 相关函数,比如 ElMessage */
// resolvers: [ElementPlusResolver()],
// /** 根据自动按需导入的相关 API生成 .eslintrc-auto-import.json 文件供 Eslint 识别 */
// eslintrc: {
@ -90,7 +90,7 @@ export default (configEnv: ConfigEnv): UserConfigExport => {
// }),
// Components({
// dts: "./types/components.d.ts",
// /** 自动按需导入 Element-Plus 组件 */
// /** 自动按需导入 Element Plus 组件 */
// resolvers: [ElementPlusResolver()]
// })
]