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

文档中的 translate 函数在哪里呢 导入时候报错 #161

Open
4963384 opened this issue Aug 16, 2024 · 1 comment
Open

文档中的 translate 函数在哪里呢 导入时候报错 #161

4963384 opened this issue Aug 16, 2024 · 1 comment

Comments

@4963384
Copy link

4963384 commented Aug 16, 2024

Bug report(问题描述)

please write your issue description here

Steps to reproduce(问题复现步骤)

Screenshot or Gif(截图或动态图)

微信截图_20240816155341

minimal reproduction(最小可还原代码)

System Info

npx envinfo --system --npmPackages vue --binaries --browsers

执行上面命令,将结果贴下面

@feige996
Copy link
Contributor

feige996 commented Sep 6, 2024

哦,文档试没更新,最新代码现在使用 t
import { t } from '@/locale/index'
{{ t('introduction', user) }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants