fire-ants
基于Vue开发的组件库,供MC2项目使用
1,365
| Install | |
|---|---|
npm install fire-ants@1.0.98 |
|
| Latest Version: | 1.0.98 |
| Vue: | 2 |
| License: | MIT |
| Last Updated: | Jul 19, 2018 |
| Links: | npm |
Maintainer: royneedyou
FireAnts
为你提供构建“小应用”的全套前端解决方法
安装
提供两种安装方式
1.npm安装(推荐)
npm install --save-dev fire-ants
2. CDN(目前没有部署到CDN上,所以暂时不可用。。。)
<!-- 引入样式 -->
<link rel="stylesheet" href="https://xxx.com/styles/mcui.css">
<!-- 引入组件库 -->
<script src="https://xxx.com/mc2.js"></script>
使用
javascipt代码
import Vue from 'vue'
import mc2 from 'fire-ants'
import 'mc2/dist/styles/mcui.css'
Vue.use(mc2)
模板代码
<mc-title>Input Demo</mc-title>
<mc-line></mc-line>
<mc-input :title="'textarea 普通的'" type="textarea" v-model="myInput" ></mc-input>
相关文档
开发用文档
设计文档
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.98 | 2.5.13 | MIT | |
| 1.0.93 | 2.5.13 | MIT | |
| 1.0.5 | 2.5.13 | MIT | |
| 1.0.3 | 2.5.13 | MIT | |
| 1.0.2 | 2.5.13 | MIT | |
| 1.0.1 | 2.5.13 | MIT | |
| 1.0.0 | 2.5.13 | MIT |