lgt-uikit
v0.0.1
Published
辽宁项目组件库
Downloads
1
Readme
ln-components
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
使用
npm install ln-components --save
在main.js中引入
import mycomponents from 'ln-components'
Vue.use(mycomponents)
在页面中调用
eg:
<inputSearch v-model="data"></inputSearch>
上线发包流程
1.改pagckage.json版本号;
2.填写版本记录发布内容;
3.npm run build 生成js生成环境文件;
4.git add .
git commit -m 'vxx.xx.xx'
git push origin master
5.npm publish --otp=xxxxxx;