Closed flespindola closed 10 months ago
Just noticed you have some mess with the quotes:
import { I18n } from 'laravel-vue-i18n
I18n.getSharedInstance()`
Does it actually look like this in your code?
I'm sorry, my mistake. Just fix the comment. This quotes doesn't exists in code
Its possible for you, to have a public repo with that exact error?
Thanks
Yes, I did it a repo so you can see the error by cloning
Thats great thanks!
Hello, is there any solution for this problem?
Sorry not yet able to debug the issue.
@flespindola I did clone the repo, but I'm not getting that error, any ideias?
I just got this issue when I try to get the shared instance in my script setup
Uncaught (in promise) TypeError: laravel_vue_i18n__WEBPACK_IMPORTED_MODULE_22__.I18n is undefined
webpack:
My package.json doesn't have
"type":"module"
Node version: v20.3.0 Npm version: 9.6.7 Laravel 10