vue-i18n icon indicating copy to clipboard operation
vue-i18n copied to clipboard

<i18n-t> error after packaging

Open Lucas-lululu opened this issue 1 year ago • 3 comments

Reporting a bug?

The development environment can be used but the formal environment is wrong image image image

Expected behavior

Hope it works

Reproduction

vue <template #world> 123 en.js export default { hello: 'hello {world}' } vite.config image

System Info

System:
    OS: macOS 12.5
    CPU: (8) x64 Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz
    Memory: 30.12 MB / 8.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.5.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.19.1 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Browsers:
    Chrome: 104.0.5112.101
    Firefox: 100.0
    Safari: 15.6
  npmPackages:
    @intlify/unplugin-vue-i18n: ^0.5.0 => 0.5.0 
    @vitejs/plugin-vue: ^3.0.3 => 3.0.3 
    vite: ^3.0.7 => 3.0.8 
    vue: ^3.2.37 => 3.2.37 
    vue-i18n: 9 => 9.2.2

Screenshot

No response

Additional context

No response

Validations

Lucas-lululu avatar Aug 19 '22 09:08 Lucas-lululu

When @intlify/unplugin-vue-i18n is not applicable, the official environment will not report an error, but the development environment will display a warning image

Lucas-lululu avatar Aug 19 '22 10:08 Lucas-lululu

Thank you for your reporting!

Unfortunately, We couldn't check this issue without reproduction repo, and we could not resolve this issue if this issue is a bug.

Could you give us the minimum reproduction repo, please? 🙏

kazupon avatar Aug 19 '22 11:08 kazupon

This problem can only be reproduced by running the dist file after executing the build. You need to use @intlify/unplugin-vue-i18n, and then execute npm run build

Lucas-lululu avatar Aug 20 '22 05:08 Lucas-lululu

Close in-activity We need a solution to this issue, but we need the minimue reproduction code that can actually confirm the issue with anyone. we need a github repo or stackbliz where anyone can reproduce the issue. If you would be faced this issue agina, please you would open the new issue. thanks!

kazupon avatar Nov 15 '22 17:11 kazupon