Closed nmedelmehdi closed 1 year ago
same error on a fresh new laravel app (Breeze/Vue)
Remove "type": "module"
from your package.json file and try again. Does it help?
Yes it was that, thanks, after that i have to update postcss.config.js
from
export default { plugins: { tailwindcss: {}, autoprefixer: {}, }, };
to
module.exports = { plugins: { tailwindcss: {}, autoprefixer: {}, }, };
Thanks
This is related to the recent change on https://github.com/laravel/breeze/pull/246
This is related to the recent change on laravel/breeze#246
Yup, I think this library needs ESM build too to catch up with Laravel trends. I'll look into that when I've spare time.
Good case, that would be great @daniser 💪
thnaks @daniser ! perfect !
Hello
I installed according to the documentation the library on my Laravel 10/Inertia/VueJS3 project.
I have a problem loading the php language files, indeed to do so I need to use i18n() in "vite.config.js".
here is my configuration:
As soon as I include i18n in vite.config.js, vite crach displays this error:
I specify that everything works correctly except this error related to the import of the files
If anyone can help or refer me? Thank you very much!