You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please provide a link to a repo that can reproduce the problem you ran into. A minimal reproduction is required (Why?). If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "Status: Need More Info" label. If no reproduction is provided after 5 days, it will be closed.
Reporting a bug?
ussing t function in composition API returns error.
tm(
summer):
{ "type": 0, "start": 0, "end": 6, "loc": { "start": { "line": 1, "column": 1, "offset": 0 }, "end": { "line": 1, "column": 7, "offset": 6 }, "source": "Summer" }, "body": { "type": 2, "start": 0, "end": 6, "loc": { "start": { "line": 1, "column": 1, "offset": 0 }, "end": { "line": 1, "column": 7, "offset": 6 } }, "items": [ { "type": 3, "start": 0, "end": 6, "loc": { "start": { "line": 1, "column": 1, "offset": 0 }, "end": { "line": 1, "column": 7, "offset": 6 } } } ], "static": "Summer" } }
te('summer')
true
t('summer')
SyntaxError: Unexpected return type in composer
Expected behavior
function t should work
Reproduction
vite.config.js
app.js
Show.vue
Issue Package
vite-plugin-vue-i18n
System Info
Screenshot
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: