74 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			74 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
# vxe-pc-ui
 | 
						||
 | 
						||
[简体中文](README.md) | 繁體中文 | [English](README.en.md) | [日本語](README.ja-JP.md)  
 | 
						||
 | 
						||
[](https://github.com/x-extends/vxe-pc-ui/stargazers)
 | 
						||
[](https://gitee.com/x-extends/vxe-pc-ui/stargazers)
 | 
						||
[](https://gitcode.com/x-extends/vxe-pc-ui/stargazers)
 | 
						||
[](https://www.npmjs.com/package/vxe-pc-ui)
 | 
						||
[](https://github.com/x-extends/vxe-pc-ui/actions/workflows/webpack.yml)
 | 
						||
[](https://npm-stat.com/charts.html?package=vxe-pc-ui)
 | 
						||
[](https://github.com/x-extends/vxe-pc-ui/issues)
 | 
						||
[](https://github.com/x-extends/vxe-pc-ui/issues?q=is%3Aissue+is%3Aclosed)
 | 
						||
[](https://github.com/x-extends/vxe-pc-ui/pulls)
 | 
						||
[](https://github.com/x-extends/vxe-pc-ui/pulls?q=is%3Apr+is%3Aclosed)
 | 
						||
[](LICENSE)
 | 
						||
 | 
						||
一个基于 [vue](https://www.npmjs.com/package/vue) 的 PC 端组件库  
 | 
						||
 | 
						||
## 浏览器支持
 | 
						||
 | 
						||
 |  |  |  | 
 | 
						||
--- | --- | --- | --- | --- |
 | 
						||
80+ ✔ | 80+ ✔ | 90+ ✔ | 75+ ✔ | 10+ ✔ |
 | 
						||
 | 
						||
 | 
						||
## 使用
 | 
						||
 | 
						||
```shell
 | 
						||
npm install vxe-pc-ui
 | 
						||
```
 | 
						||
 | 
						||
```javascript
 | 
						||
// ...
 | 
						||
import VxeUIAll from 'vxe-pc-ui'
 | 
						||
import 'vxe-pc-ui/lib/style.css'
 | 
						||
 | 
						||
// import VxeUITable from 'vxe-table'
 | 
						||
// import 'vxe-table/lib/style.css'
 | 
						||
 | 
						||
// import VxeUIDesign from 'vxe-design'
 | 
						||
// import 'vxe-design/lib/style.css'
 | 
						||
// ...
 | 
						||
 | 
						||
createApp(App)
 | 
						||
  .use(VxeUIAll)
 | 
						||
  // .use(VxeUITable)
 | 
						||
  // .use(VxeUIDesign)
 | 
						||
  .mount('#app')
 | 
						||
```
 | 
						||
 | 
						||
## 運行項目
 | 
						||
 | 
						||
安裝依賴
 | 
						||
 | 
						||
```shell
 | 
						||
npm install
 | 
						||
```
 | 
						||
 | 
						||
啓動本地調試
 | 
						||
 | 
						||
```shell
 | 
						||
npm run serve
 | 
						||
```
 | 
						||
 | 
						||
編譯打包,生成編譯後的目錄:es,lib
 | 
						||
 | 
						||
```shell
 | 
						||
npm run lib
 | 
						||
```
 | 
						||
 | 
						||
## 許可證
 | 
						||
 | 
						||
[MIT](LICENSE) © 2019-present, Xu Liangzhan
 |