0.7.0 • Published 6 months ago

@jasperdai/laodaiceshi v0.7.0

Weekly downloads
-
License
-
Repository
-
Last release
6 months ago

vue3-uikit-provider

1 Usage

1.1 Use UIKitProvider Components

<script lang="ts" setup>
import { UIKitProvider } from '@tencentcloud/uikit-base-component-vue3';
</script>

<template>
  <UIKitProvider theme="light">

  </UIKitProvider>
</template>

1.2 Use Hook useUIKit

<template>
  <div>{{ theme }}</div>
  <button @click="setTheme('dark')">set theme to dark</button>
  <button @click="setTheme('light')">set theme to light</button>
</template>

<script lang="ts" setup>
import { useUIKit } from '@tencentcloud/uikit-base-component-vue3';

const { theme, setTheme } = useUIKit();
</script>
0.7.0

6 months ago

0.6.0

6 months ago

0.5.0

10 months ago

0.4.0

10 months ago

0.3.0

10 months ago

0.2.0

10 months ago

0.1.0

10 months ago