1.0.0-alpha.18 • Published 9 months ago

@spruce-hub/cui v1.0.0-alpha.18

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Spruce CUI

适用于 (S)CRM 平台的公共组件或模块

Usage

pnpm add @spruce-hub/cui -P

Quick start

Full Import

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

import cui from '@spruce-hub/cui'

createApp(App).use(cui).mount('#app')
<template>
  <CAlert type="success" description="success alert" closable="center" />
</template>

Volar support

// tsconfig.json
{
  "compilerOptions": {
    // ...
    "types": ["@spruce-hub/cui/global"]
  }
}

On-demand Import

<script setup lang="ts">
  import { CAlert } from '@spruce-hub/cui'
</script>

<template>
  <CAlert type="success" description="success alert" closable="center" />
</template>
1.0.0-alpha.9

10 months ago

1.0.0-alpha.8

10 months ago

1.0.0-alpha.7

10 months ago

1.0.0-alpha.6

10 months ago

1.0.0-alpha.10

10 months ago

1.0.0-alpha.16

9 months ago

1.0.0-alpha.15

9 months ago

1.0.0-alpha.18

9 months ago

1.0.0-alpha.17

9 months ago

1.0.0-alpha.12

9 months ago

1.0.0-alpha.11

9 months ago

1.0.0-alpha.14

9 months ago

1.0.0-alpha.13

9 months ago

1.0.0-alpha.5

11 months ago

1.0.0-alpha.4

12 months ago

1.0.0-alpha.3

12 months ago

1.0.0-alpha.2

12 months ago

1.0.0-alpha.1

12 months ago