# gq-ui

> another light weight vue.js component library

Latest version **1.0.2** (published 2020-12-31) · ISC license · 0 weekly downloads

## Install

```sh
npm install gq-ui
pnpm add gq-ui
yarn add gq-ui
bun add gq-ui
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2020-12-31 |
| First published | 2020-05-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.9.1 |
| Dependencies | 4 |
| Unpacked size | 854.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | ArronKler |
| Maintainers | gqwudi |

## Links

- npm: https://www.npmjs.com/package/gq-ui
- Repository: https://github.com/guqiangwudi/axz-ui
- Homepage: https://github.com/guqiangwudi/axz-ui#readme
- Issues: https://github.com/guqiangwudi/axz-ui/issues
- npm.io page: https://npm.io/package/gq-ui

## Dependencies (4)

- [core-js](https://npm.io/package/core-js.md) 2.6.9
- [webpack](https://npm.io/package/webpack.md) ^4.39.2
- [webpack-cli](https://npm.io/package/webpack-cli.md) ^3.3.7
- [async-validator](https://npm.io/package/async-validator.md) ^3.0.4

## Recent versions

- 1.0.2 (latest) — 2020-12-31
- 1.0.1 — 2020-05-23

## README

<!--
 * @Description: 
 * @Author: 辜强
 * @Date: 2020-05-19 11:28:50
 * @LastEditors: 辜强
 * @LastEditTime: 2020-12-31 09:55:42
-->
<p align="center">
    <a>
        <img width="200" src="./assets/logo.png">
    </a>
</p>

<h1>
axzUI
    <h3>A lightweight Vue.js UI toolkit</h3>
</h1>

# Install

Run the command below in your terminal to install axzUI first
```
npm install axz-ui --save
```

# Usage

## Global Use
Import in your entry script file and register it
```javascript
import axzUI from 'axz-ui'
import "axz-ui/lib/styles/axz-ui.css"

Vue.use(axzUI)
```

### Example

```html
<l-button>click</l-button>
```

## On-demand Loading

Firstly, you should install `babel-plugin-component` in your project.
```
npm install babel-plugin-component
```

Configure your `.babelrc` file like this

```json
{
    "plugins": [
        ["component", {
            "libraryName": "axz-ui",
            "libDir": "lib",
            "styleLibrary": {
                "name": "styles",
                "base": false, // no base.css file
                "path": "[module].css"
            }
        }]
    ]
}
```

The you can import component on demand, and you don't need to care about importing styles, the babel plugin will do it automaticly.

```javascript
import Vue from 'vue'
import { Button } from 'axz-ui'

Vue.component('a-button', Button)
```

---
_Source: https://npm.io/package/gq-ui · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
