Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[国际化] yarn build打包报错 #776

Closed
wmhost opened this issue Nov 1, 2024 · 2 comments · Fixed by #777
Closed

[国际化] yarn build打包报错 #776

wmhost opened this issue Nov 1, 2024 · 2 comments · Fixed by #777
Assignees
Labels
🐞 BUG Something isn't working

Comments

@wmhost
Copy link

wmhost commented Nov 1, 2024

tdesign-vue-next-starter 版本

0.10.0

重现链接

直接打包

重现步骤

starter原始代码未做修改直接运行yarn build报错,使用$t的代码都报错
iShot_2024-11-01_12 33 01

期望结果

打包成功

实际结果

Property '$t' does not exist on type '{ $: ComponentInternalInstance; $data: {}; $props: Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<...>, never>; ... 10 more ...; $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...ar...'.

71

框架版本

Vue(3.3.13)

浏览器版本

No response

系统版本

No response

Node版本

v18.17.0

补充说明

"vue-i18n": "^9.9.1"

Copy link
Contributor

github-actions bot commented Nov 1, 2024

👋 @wmhost,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

Copy link
Contributor

github-actions bot commented Nov 1, 2024

♥️ 有劳 @timi137137 @liweijie0812 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @wmhost

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 BUG Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants