1.3.2 • Published 5 years ago
gxb-ui v1.3.2
GXB UI
Mobile UI elements for Dapp built on Vue.js 2.x.
Features
- Customize useful and beautifulcomponents for DAPP.
- Friendly API. It's made for people with any skill level.
- Extensive documentation and demos.
Docs
- 中文文档
- English (working)
Install
Please install Webpack first!
We recommend you create your project through vue-cli.
Install GXB UI
Using npm:
npm install gxb-ui --save
Usage
Import all components
import Vue from 'vue';
import GxbUI from 'gxb-ui';
import 'gxb-ui/lib/css/index.css';
Vue.use(GxbUI);
Import only on demand
First install babel-plugin-import and configure .babelrc:
npm install babel-plugin-import --save-dev
// .babelrc
{
'plugins': [['import', {
'libraryName': 'gxb-ui',
'libraryDirectory': 'src/components'
}]]
}
Then add rule in webpack.config.js
// webpack.config.js
{
test: /gxb-ui.src.*?js$/,
loader: 'babel-loader'
}
To Use
import { Button, Cell } from 'gxb-ui';
import 'gxb-ui/lib/css/button.css';
import 'gxb-ui/lib/css/cell.css';
Vue.component(Button.name, Button);
Vue.component(Cell.name, Cell);
Inspired or Powered By
License
Copyright (c) 2018-present, GXB UI
1.3.2
5 years ago
1.3.1
5 years ago
1.3.0
5 years ago
1.2.9
5 years ago
1.2.8
5 years ago
1.2.7
5 years ago
1.2.6
5 years ago
1.2.5
5 years ago
1.2.4
5 years ago
1.2.3
5 years ago
1.2.2
5 years ago
1.2.1
5 years ago
1.2.0
5 years ago
1.1.20
6 years ago
1.1.19
6 years ago
1.1.18
6 years ago
1.1.17
6 years ago
1.1.16
6 years ago
1.1.15
6 years ago
1.1.14
6 years ago
1.1.13
6 years ago
1.1.12
6 years ago
1.1.11
6 years ago
1.1.10
6 years ago
1.1.9
6 years ago
1.1.8
6 years ago
1.1.7
6 years ago
1.1.6
6 years ago
1.1.5
6 years ago
1.1.4
6 years ago
1.1.3
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago