Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gxb-ui

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gxb-ui

Mobile UI elements for Dapp built on Vue.js 2.x.

  • 1.1.16
  • npm
  • Socket score

Version published
Weekly downloads
15
increased by66.67%
Maintainers
1
Weekly downloads
 
Created
Source

GXB UI

License GXB UI NPM downloads

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

MIT

Copyright (c) 2018-present, GXB UI

Keywords

FAQs

Package last updated on 12 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc