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
babel-plugin-import (Recommended)
1. Use# 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.
;
If you are using TypeScript,please use ts-import-plugin instead
2. Manually import
;;;
3. Import all components
;;; Vue;
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+.