@isfe/vue-components
v0.0.4
Published
<p align="left"> <a href="http://standardjs.com"><img src="https://img.shields.io/badge/code%20style-standard-brightgreen.svg"></a> <a href="https://travis-ci.com/isfe-team/vue-components"><img src="https://img.shields.io/travis/com/isfe-team/vue-comp
Downloads
8
Readme
Vue Components
Common vue components(not basic ui components) for biz. @isfe @isfe/vue-components.
Usage
Install
$ npm i -S @isfe/vue-components
Use components
// import all components
import VueComponents from '@isfe/vue-components'
Vue.use(VueComponents)
// or import what you need
import ScreenCapture from '@isfe/vue-components/components'
// if you want to register in global
Vue.use(ScreenCapture)
// or you want to use like a component
export default {
name: 'Wrapper',
render () {
return <ScreenCapture />
}
}
For developers
$ npm i
# use this to commit
$ npm run commit
# upgrade versions and tag
$ npm version <param>
$ git push origin --tag
TODOs
- [x] publish
- [x] linter
- [ ] tests
- [x]
README.md
直接在docs:x
scripts 之前 move 到docs
中 - [ ] DragZoom component