Skip to content

Quick Start

🧪 Will be released soon.

npm

介绍

Usage

组件库方式

bash
pnpm add @advjs/gui

Vue

ts
// vite.config.ts
// with unplugin-vue-components
import { defineConfig } from 'vite'
import Vue from '@vitejs/plugin-vue'
import Components from 'unplugin-vue-components/vite'

export default defineConfig({
  plugins: [
    Vue(),
    Components({
      dirs: ['@advjs/gui/components'],
    }),
  ],
})

Nuxt

ts
// nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    // ...
    '@advjs/gui/nuxt',
  ],
})

API 方式