vite: module does not provide an export named 'i18nVue'
See original GitHub issueAlso: after upgrade from 0.2.1 to 0.4.1:
Uncaught SyntaxError: The requested module '/node_modules/.vite/laravel-vue-i18n.js?v=4bc78461' does not provide an export named 'i18nVue'
This happened with v3 also, rolling back to 0.2.1 it works again.
_Originally posted by @ibrunotome in https://github.com/xiCO2k/laravel-vue-i18n/issues/3#issuecomment-1008974849_
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
The requested module does not provide an export named ...
Reporting a bug? In my vite + vue 3 project, I import i18n like this import VueI18n from "vue-i18n"; But I then get...
Read more >vite does not provide an export named - You.com - You.com
Uncaught SyntaxError: The requested module '/node_modules/.vite/laravel-vue-i18n.js?v=4bc78461' does not provide an export named 'i18nVue'.
Read more >Vite Migration: error does not provide an export - Stack Overflow
I'm trying to migrate from vue-cli to Vite using Vue 2.0. I've some JavaScript ...
Read more >Optimization - Vue I18n - Intlify
The use of this ES Module means that all locale messages have to pre-compile to Message functions. what this means it improves performance ......
Read more >@intlify/vite-plugin-vue-i18n - npm
When this plugin is installed, Vue I18n can only use the Composition API, and if you want to use the Legacy API, you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yes the problem was the change to compile with “node12”
That’s needed to have the
defaultResolver
with the import (introduced in v0.3.0).Trying to find a way to have it working well with vite and webpack.
Will keep you posted.
Awesome!