learun-ui-vue
v0.5.18
Published
vue ui compontents.
Downloads
43
Maintainers
Readme
基于 Vue.js 和 AntDesign 设计风格开发的前端UI组件库
力软信息技术(苏州)有限公司出品
恢复默认地址
npm config set registry https://registry.npmjs.org
在自己的项目中引入FineCoreUI
从npm上安装Learun-ui-vue:
npm i -S learun-ui-vue
在项目入口处的JS文件中引入:
// 引入并应用到Vue
import LearunUI from 'learun-ui-vue'
Vue.use(LearunUI)
// 样式文件需要单独引入
import 'learun-ui-vue/dist2/lui.css'
开发或打包本项目
从代码仓库克隆本项目代码后,进入目录和安装依赖:
cd FineCoreUI
npm i
以开发模式运行:
npm run dev
开发模式下,可以根据命令行给出的地址来访问API文档
打包成组件库:
npm run lib
打包后的文件位于dist2
目录下
项目相关配置
本项目使用Vue-cli脚手架构建,配置文件是根目录下的vue.config.js
本项目使用Babel、ESLint、PostCSS等工具,它们的配置文件均位于package.json
中的相应字段内
本项目配置了Webpack的alias别名,可在vue.config.js
中查看
配置如下:
@
对应了./src
目录,这是Vue-cli项目内置的路径别名@lib
对应了./lib
目录,所有组件所在的目录@style
对应了./lib/style
目录,公用样式文件所在的目录@util
对应了./lib/_util
目录,工具类代码所在的目录"vue-quill-editor": "^3.0.6",
"diagram-js": "^6.8.2",