Skip to content

Import i18n component ? #812

Closed Answered by Demivan
Ericlm asked this question in Q&A
Mar 7, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi

<i18n> component is automatically imported and registered globally when app.use(fluent) is called. eslint is not aware of that, so the only way to fix eslint is to add this component as an exception to the vue/no-undef-components rule.

Props autocompletion and typechecking is an separate issue. Please create an issue in https://github.com/fluent-vue/fluent-vue repository.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Ericlm
Comment options

Answer selected by Ericlm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants