We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As soon as i enable/install Vue Language Features (Volar) in VS code, i get type errors in html wherever $t and $i18n is used.
Vue Language Features (Volar)
$t
$i18n
<template> <h1>{{ $t('views.home.title') }}</h1> <h1>{{ $i18n.locale }}</h1> </template> Above is my html.
<template> <h1>{{ $t('views.home.title') }}</h1> <h1>{{ $i18n.locale }}</h1> </template>
And below is how i get errors/warnings by volar.
What am i missing here?
The text was updated successfully, but these errors were encountered:
yes , I have same error, 类型“CreateComponentPublicInstance<Readonly<ExtractPropTypes<{}>>, { isClient: typeof isClient; SocialMediaEnum: typeof SocialMediaEnum; ruleFormRef: typeof ruleFormRef; formData: typeof formData; rules: typeof rules; resetForm: typeof resetForm; submitForm: typeof submitForm; }, ... 17 more ..., {}>”上不存在属性“$t”。ts-plugin(2339)
Sorry, something went wrong.
No branches or pull requests
As soon as i enable/install
Vue Language Features (Volar)
in VS code, i get type errors in html wherever$t
and$i18n
is used.<template> <h1>{{ $t('views.home.title') }}</h1> <h1>{{ $i18n.locale }}</h1> </template>
Above is my html.
And below is how i get errors/warnings by volar.
What am i missing here?
The text was updated successfully, but these errors were encountered: