This repository was archived by the owner on Apr 22, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 40
json messages is empty when use pnpm #204
Labels
Type: Bug
Bug or Bug fixes
Comments
workaround: config.module
.rule('i18n-resource')
.include.clear()
.add(resolve(__dirname, 'src/locales')); i18n plugin should search nearest |
Thank you for your reporting! sorry, I don't usually use pnpm much, so I wasn't able to test it. |
this issue and workaround help me a lot.
I hope this project will support pnpm with fix the wrong |
Hello, same pb with vue-cli. How can I fix this? |
ok I fixed it in the vue.config.js chainWebpack: config => {
config.module
.rule('i18n-resource')
.include.clear()
.add(path.resolve(__dirname, 'src/locales'));
} Thanks |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
vue-cli-plugin-i18n/index.js
Line 31 in fdc4fc0
pnpm store package in a different way, so
../../src
is not point to project src foldervue inspect --rule i18n-resource
The text was updated successfully, but these errors were encountered: