iiui
Lightweight Mobile UI Components built on Vue
Features
- Extensive documentation and demos
- Support babel-plugin-import
- Support TypeScript
- Support SSR
Install
NPM
npm i iiui -S
YARN
yarn add iiui
Quickstart
1. Use babel-plugin-import (Recommended)
# Install babel-plugin-import
npm i babel-plugin-import -D
// set babel config in .babelrc or babel-loader
// Note: Don't set libraryDirectory if you are using webpack 1.
{
"plugins": [
["import", {
"libraryName": "iiui",
"libraryDirectory": "es",
"style": true
}]
]
}
Then you can import components from iiui, equivalent to import manually below.
import { Button } from 'iiui';
If you are using TypeScript,please use ts-import-plugin instead
2. Manually import
import Button from 'iiui/lib/button';
import 'iiui/lib/iiui-css/base.css';
import 'iiui/lib/iiui-css/button.css';
3. Import all components
import Vue from 'vue';
import IIUI from 'iiui';
import 'iiui/lib/iiui-css/index.css';
Vue.use(IIUI);
If you configured babel-plugin-import, you won't be allowed to import all components.
Contribution
Please make sure to read the Contributing Guide before making a pull request.
Browser Support
Modern browsers and Android 4.0+, iOS 6+.
LICENSE
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.5 | >= 2.5.0 | MIT | |
| 1.0.4 | >= 2.5.0 | MIT | |
| 1.0.3 | >= 2.5.0 | MIT | |
| 1.0.2 | >= 2.5.0 | MIT | |
| 1.0.1 | >= 2.5.0 | MIT | |
| 0.0.50 | >= 2.5.0 | MIT | |
| 0.0.40 | >= 2.5.0 | MIT | |
| 0.0.39 | >= 2.5.0 | MIT | |
| 0.0.38 | >= 2.5.0 | MIT | |
| 0.0.37 | >= 2.5.0 | MIT | |
| 0.0.36 | >= 2.5.0 | MIT | |
| 0.0.35 | >= 2.5.0 | MIT | |
| 0.0.34 | >= 2.5.0 | MIT | |
| 0.0.33 | >= 2.5.0 | MIT | |
| 0.0.32 | >= 2.5.0 | MIT | |
| 0.0.31 | >= 2.5.0 | MIT | |
| 0.0.30 | >= 2.5.0 | MIT | |
| 0.0.29 | >= 2.5.0 | MIT | |
| 0.0.28 | >= 2.5.0 | MIT | |
| 0.0.27 | >= 2.5.0 | MIT | |
| 0.0.26 | >= 2.5.0 | MIT | |
| 0.0.25 | >= 2.5.0 | MIT | |
| 0.0.24 | >= 2.5.0 | MIT | |
| 0.0.23 | >= 2.5.0 | MIT | |
| 0.0.22 | >= 2.5.0 | MIT | |
| 0.0.21 | >= 2.5.0 | MIT | |
| 0.0.20 | >= 2.5.0 | MIT | |
| 0.0.19 | >= 2.5.0 | MIT | |
| 0.0.18 | >= 2.5.0 | MIT | |
| 0.0.17 | >= 2.5.0 | MIT |
Showing the latest 30 of 46. See every release on npm