cdrd-app-ui
v0.1.0
Published
``` npm install ```
Downloads
3
Readme
cdrd-app-ui
vue前端ui组件库,主要针对app端或者手机端常用组件进行封装整理
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint
Customize configuration
在 main.js 引入并注册
import appUi from 'cdrd-app-ui'
Vue.use(appUi)
在组件中使用
<template>
<v-message></v-message>
</template>
<script>
export default {
data () {
return {
}
}
}
</script>
发布流程
设置仓库地址为npm官方仓库地址(国内大部分都使用阿里淘宝镜像,如果没改publish会失败)
npm config set registry https://registry.npmjs.org/
npm login
Username:
Password:
npm publish