element-plus-theme-cestc
v1.0.2
Published
基于element-plus的ui组件做了一些修改,来适应公司ui规范
Downloads
8
Readme
element-plus UI 自定义化
基于element-plus版本
^1.2.0-beta.5
使用方法
- 安装element-plus
npm install [email protected]
- 项目引入
// main.ts
import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
// 不要引入默认的样式
// import 'element-plus/dist/index.css'
// 引入自定义样式
import 'element-plus-theme-cestc'
const app = createApp(App)
app.use(ElementPlus)
app.mount('#app')
项目目录
vite-project
├─ .env.development
├─ .env.production
├─ .eslintrc.js
├─ .gitignore
├─ .vscode
│ ├─ extensions.json
│ └─ settings.json
├─ README.md
├─ index.html
├─ package-lock.json
├─ package.json
├─ public
│ └─ favicon.ico
├─ src
│ ├─ App.vue
│ ├─ assets
│ │ └─ logo.png
│ ├─ components
│ │ ├─ HelloWorld.vue
│ │ └─ demo.vue
│ ├─ env.d.ts
│ └─ main.ts
├─ tsconfig.json
├─ vite.config.ts
├─ 文件命名规范.md
└─ 目录管理规范.md
版本管理
版本管理用工具包semver
管理,使用方法如下:
// 升级修订版本号
npm version patch
// 升级次版本号
npm version minor
// 升级主版本号
npm version major
其他用法