Mint UI
Mobile UI elements for Vue 2.0
Installation
npm i straw-ui -S # for Vue 1.x npm i straw-ui@1 -S
Usage
Import all components.
;;; Vue;
Or import specified component. (Use babel-plugin-component)
; Vue;Vue;
Equals to
;;; Vue; // import specified component ;; Vue;
babel-plugin-component
- Auto import css file
- Modular import component
Installation
npm i babel-plugin-component -D
Usage
.babelrc
CDN
RawGit
- https://cdn.rawgit.com/ElemeFE/straw-ui/master/lib/index.js
- https://cdn.rawgit.com/ElemeFE/straw-ui/master/lib/style.css
NPMCDN
Development
npm run dev
Contribution
Please make sure to read the Contributing Guide before making a pull request.
License
MIT