在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:mint-ui开源软件地址:https://gitee.com/dahouge/mint-ui开源软件介绍:Mint UI
Installationnpm i mint-ui -S# for Vue 1.xnpm i mint-ui@1 -S UsageImport all components. import Vue from 'vue'import Mint from 'mint-ui';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 componentimport MtRadio from 'mint-ui/lib/radio';import 'mint-ui/lib/radio/style.css';Vue.component(MtRadio.name, MtRadio); babel-plugin-component
Installation npm i babel-plugin-component -D Usage .babelrc { "plugins": ["other-plugin", ["component", [ { "libraryName": "mint-ui", "style": true } ]]]} CDNRawGit
NPMCDN Developmentnpm run dev ContributionPlease make sure to read the Contributing Guide before making a pull request. LicenseMIT |
请发表评论