feat: 添加Ai聊天组件示例

This commit is contained in:
xiaoxian521
2025-03-11 09:45:03 +08:00
parent 399d3b2987
commit b004c224c2
21 changed files with 1396 additions and 31 deletions

View File

@@ -17,6 +17,7 @@ const include = [
"qrcode",
"intro.js",
"vue-i18n",
"deep-chat",
"vxe-table",
"vue-types",
"js-cookie",
@@ -28,6 +29,7 @@ const include = [
"sortablejs",
"swiper/vue",
"mint-filter",
"highlight.js",
"@vueuse/core",
"vue3-danmaku",
"v-contextmenu",

View File

@@ -19,7 +19,13 @@ export function getPluginsList(
): PluginOption[] {
const lifecycle = process.env.npm_lifecycle_event;
return [
vue(),
vue({
template: {
compilerOptions: {
isCustomElement: tag => tag === "deep-chat"
}
}
}),
// jsx、tsx语法支持
vueJsx(),
VueI18nPlugin({