chore: update common-ui to universal-ui

This commit is contained in:
vben
2024-06-16 23:20:09 +08:00
parent 95252f62f6
commit 0023964eb7
96 changed files with 107 additions and 95 deletions

View File

@@ -0,0 +1,16 @@
<script setup lang="ts">
import { preferences } from '@vben-core/preferences';
import { Toaster } from '@vben-core/shadcn-ui';
import { CozeAssistant } from '../coze-assistant';
defineOptions({ name: 'GlobalProvider' });
</script>
<template>
<Toaster />
<CozeAssistant
v-if="preferences.app.aiAssistant"
:is-mobile="preferences.app.isMobile"
/>
<slot></slot>
</template>