Skip to content

快速上手

安装

sh
$ npm install vue-amazing-ui
sh
$ pnpm add vue-amazing-ui
sh
$ yarn add vue-amazing-ui
sh
$ bun add vue-amazing-ui

使用

Global

ts
import { createApp } from 'vue'
import App from './App.vue'

import VueAmazingUI from 'vue-amazing-ui'
import 'vue-amazing-ui/css'

const app = createApp(App)
app.use(VueAmazingUI)

app.mount('#app')

Local

vue
<script setup lang="ts">
import { Button } from 'vue-amazing-ui'
import 'vue-amazing-ui/css'
</script>

<template>
  <Button></Button>
</template>

Released under the MIT License.