bh-mint-ui
Mobile UI elements for vue.js
1,752
2
| Install | |
|---|---|
npm install bh-mint-ui |
|
| Latest Version: | 1.0.16 |
| Vue: | 1 |
| License: | MIT |
| Last Updated: | Dec 16, 2016 |
| Links: | GitHub · npm |
Maintainer: gilbertsun-me
Mint UI for Vue 1.x
Mobile UI elements for Vue.js
Installation
# for Vue 1.x
npm i mint-ui@1 -S
# for Vue 2.0
npm i mint-ui -S
Usage
Import all components
import Vue from 'vue'
import Mint from 'mint-ui';
Vue.use(Mint);
Or import specific components (use babel-plugin-component)
import { Cell, Checklist } from 'mint-ui';
Vue.component(Cell.name, Cell);
Vue.component(Checklist.name, Checklist);
Equals to
import Vue from 'vue';
import Mint from 'mint-ui';
import 'mint-ui/lib/style.css';
Vue.use(Mint);
// import specified component
import MtRadio from 'mint-ui/lib/radio';
import 'mint-ui/lib/radio/style.css';
Vue.component(MtRadio.name, MtRadio);
babel-plugin-component
- Auto import css file
- Modular import component
Installation
npm i babel-plugin-component -D
Usage
.babelrc
{
"plugins": ["other-plugin", ["component", [
{ "libraryName": "mint-ui", "style": true }
]]]
}
CDN
RawGit
- https://cdn.rawgit.com/ElemeFE/mint-ui/1.x/lib/index.js
- https://cdn.rawgit.com/ElemeFE/mint-ui/1.x/lib/style.css
NPMCDN
Development
npm run dev
Contribution
Please make sure to read the Contributing Guide before making a pull request.
License
MIT
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.16 | ^1.0.28 | MIT | |
| 1.0.15 | ^1.0.28 | MIT | |
| 1.0.14 | ^1.0.28 | MIT | |
| 1.0.13 | ^1.0.28 | MIT | |
| 1.0.12 | ^1.0.28 | MIT | |
| 1.0.11 | ^1.0.28 | MIT | |
| 1.0.10 | ^1.0.28 | MIT | |
| 1.0.9 | ^1.0.28 | MIT | |
| 1.0.8 | ^1.0.28 | MIT | |
| 1.0.7 | ^1.0.28 | MIT | |
| 1.0.6 | ^1.0.28 | MIT | |
| 1.0.5 | ^1.0.28 | MIT | |
| 1.0.4 | ^1.0.28 | MIT | |
| 1.0.3 | ^1.0.28 | MIT | |
| 1.0.2 | ^1.0.28 | MIT | |
| 1.0.1 | ^1.0.28 | MIT | |
| 1.0.0 | ^1.0.28 | MIT | |
| 0.0.26 | ^1.0.28 | MIT | |
| 0.0.25 | ^1.0.28 | MIT | |
| 0.0.24 | ^1.0.28 | MIT | |
| 0.0.23 | ^1.0.28 | MIT | |
| 0.0.22 | ^1.0.28 | MIT | |
| 0.0.21 | ^1.0.28 | MIT | |
| 0.0.20 | ^1.0.28 | MIT | |
| 0.0.19 | ^1.0.28 | MIT | |
| 0.0.18 | ^1.0.28 | MIT | |
| 0.0.17 | ^1.0.26 | MIT | |
| 0.0.16 | ^1.0.26 | MIT | |
| 0.0.15 | ^1.0.26 | MIT | |
| 0.0.14 | ^1.0.26 | MIT |
Showing the latest 30 of 42. See every release on npm