mint-ui

Mobile UI elements for vue.js
97,598 16,430
Install
npm install mint-ui
Latest Version:2.2.13
Vue:2
Older releases:1
License:MIT
Last Updated:Feb 28, 2022
Links: GitHub  ·  npm
Maintainer: marchen

Mint UI

Build Status npm NPM downloads JS gzip size CSS gzip size Join the chat at https://gitter.im/ElemeFE/mint-ui

Mobile UI elements for Vue 2.0

Installation

npm i mint-ui -S

# for Vue 1.x
npm i mint-ui@1 -S

Usage

Import all components.

import Vue from 'vue';
import Mint from 'mint-ui';
import 'mint-ui/lib/style.css';

Vue.use(Mint);

Or import specified component. (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

NPMCDN

Development

npm run dev

Contribution

Please make sure to read the Contributing Guide before making a pull request.

License

MIT

Related Packages

mint-ui-xlq

Mobile UI elements for vue.js

3,788 0
recharger

A component library based on the vue2

3,656 2
bh-mint-ui

Mobile UI elements for vue.js

1,752 2
fdc-ui

Mobile UI elements for vue.js

1,091 16,434
rain-vue-ui

rain customer Mobile UI elements for vue.js

1,011 0

Version History

Version Released License
2.2.13 MIT
2.2.12 MIT
2.2.11 MIT
2.2.10 MIT
2.2.9 MIT
Pre-releases (2)
Version Released License
2.0.0-rc.2 MIT
2.0.0-rc.1 MIT