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
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
{
'plugins': [['import', {
'libraryName': 'gxb-ui',
'libraryDirectory': 'src/components'
}]]
}
Then
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
MIT
Copyright (c) 2018-present, GXB UI