quail-ui
v0.2.85
Published
The Vue3 UI library for [Quail](https://quail.ink).
Downloads
442
Readme
Quail UI
The Vue3 UI library for Quail.
Installation
npm install quail-ui
or with yarn
yarn add quail-ui
Usage
Init Quail UI in your main.js file.
import { createApp } from 'vue'
import { QuailUI, Icons } from 'quail-ui'
// import style
import 'quail-ui/dist/style.css'
// ...
const app = createApp(App)
app.use(QuailUI)
Use the components in your .vue files.
<template>
<div class="image-uploader" :class="rounded? 'rounded':''">
<QLoading v-if="loading" class="loading-mask"/>
<QIconCamera class="icon"/>
</div>
</template>