wis-fe-ui
v1.0.0
Published
> Mobile UI elements for **Vue 2.0**
Downloads
12
Readme
FE-UI
Mobile UI elements for Vue 2.0
Installation
npm install git+http://gitlab.58corp.com/fangfe/fe-v-ui.git#[版本号] --save
Usage
Import specified component. (Use babel-plugin-component)
import Vue from 'vue';
import { iphoneXBottomBtn } from "fe-ui";
Vue.use(iphoneXBottomBtn);
Equals to
import iphoneXBottomBtn from 'fe-ui/lib/iphone-x-bottom-btn';
Vue.use(iphoneXBottomBtn);
babel-plugin-component
- Modular import component
Installation
npm i babel-plugin-component -D
Usage
.babelrc
{
"plugins": ["other-plugin", ["component", [
{ "libraryName": "mint-ui", "style": true }
]]]
}