Skip to content

Commit 64bbb4c

Browse files
liweijie0812cnb
authored andcommitted
fix: 修复 vue-chat-vike 模板 Typography 组件导入导致的 build 报错
vue-chat-vike 模板 pages/index/+Page.vue 从 tdesign-vue-next 导入了不存在的 TypographyText/TypographyTitle 组件(正确名称为 Text/Title),导致 vue-tsc 编译报错,与之前修复的 vue-chat-tsx-vike 属于同类问题。 Ref #24 PR-URL: #25
1 parent 378084d commit 64bbb4c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

templates/vue-chat-vike/pages/index/+Page.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import {
1212
Space as TSpace,
1313
Tag as TTag,
1414
Tooltip as TTooltip,
15-
TypographyText as TText,
16-
TypographyTitle as TTitle,
15+
Text as TText,
16+
Title as TTitle,
1717
} from 'tdesign-vue-next'
1818
import { BookOpenIcon, LogoGithubIcon, MoonIcon, SunnyIcon } from 'tdesign-icons-vue-next'
1919
import logoDark from '../../src/assets/TDesign-logo_dark.png'

0 commit comments

Comments
 (0)