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
# run test cases
$ npm test

For test

Use jest && vue-test-utils to do this.

You can also see this.

If you are good at testing, plz fork & pr, thank you πŸ˜ƒ.

TODOs

  • [x] publish
  • [x] linter
  • [x] jest integration
  • [ ] tests
  • [x] README.md η›΄ζŽ₯在 docs:x scripts 之前 move 到 docs δΈ­
  • [x] add DragZoom component
  • [x] optimize .vuepress structure