mint-ui 0,28,17,22,0,14,0,14 eslint npm

Mobile UI elements for Vue.js

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 [email protected] -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 Repositories

mint-ui

mint-ui

Mobile UI elements for Vue.js ...

CSS-Mint

CSS-Mint

Lightweight and simple to use UI Kit ...

mint

mint

A framework/renderer agnostic Minimal UI interface library for Haxe. ...

vue-resume

vue-resume

基于vue+router+webpack4+less+svg+mint-ui的简历投递单页面应用 ...

docs

docs

documentation for mint-ui. ...


Top Contributors

QingWei-Li Leopoldthecoder galenyuan baiyaaaaa furybean gitter-badger npmcdn-to-unpkg-bot

Dependencies

package version
array-find-index ^1.0.2
raf.js 0.0.4
vue-lazyload ^1.0.1
dev cooking ^1.2.4
cooking-buble ^0.1.2
cooking-lint ^0.1.2
cooking-saladcss ^0.4.0
cooking-vue2 ^0.2.2
css-loader ^0.25.0
eslint ^3.12.2
extract-text-webpack-plugin beta
fastclick ^1.0.6
file-loader ^0.9.0
gh-pages ^0.11.0
html-loader ^0.4.3
html-webpack-plugin ^2.22.0
json-loader ^0.5.4
json-templater ^1.0.4
lerna 2.0.0-beta.18
my-local-ip ^1.0.0
postcss ^5.2.0
postcss-loader ^0.13.0
rimraf ^2.5.4
style-loader ^0.13.1
uppercamelcase ^1.1.0
url-loader ^0.5.7
vue ^2.3.2
vue-loader 12.0.3
vue-router ^2.0.0
vue-template-compiler ^2.3.2
vue-template-es2015-compiler ^1.4.2
webpack beta
webpack-dev-server beta
webpack-shell-plugin ^0.4.3
peer vue ^2.3.0

Releases

-   v0.2.9 zip tar
-   v0.2.8 zip tar
-   v0.2.7 zip tar
-   v0.2.6 zip tar
-   v0.2.3 zip tar
-   v0.2.1 zip tar
-   v0.1.25 zip tar
-   v0.1.24 zip tar
-   v0.1.23 zip tar
-   v0.1.22 zip tar
-   v0.1.19 zip tar
-   v0.1.18 zip tar
-   v0.1.15 zip tar
-   v0.1.14 zip tar
-   v0.1.8 zip tar
-   v0.1.7 zip tar
-   v0.1.6 zip tar
-   v0.1.5 zip tar
-   v0.1.4 zip tar