-
-
Notifications
You must be signed in to change notification settings - Fork 483
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: integrate vue-i18n jit compilation (#2199)
* fix: integrate vue-i18n jit compilation * fix: basic implementation * fix: sourcemap warnings * upgrade vue-i18n * updates formating and linting * upgrade playwright * fix: wrong tests * upgrade unplugin-vue-i18n
- Loading branch information
Showing
35 changed files
with
1,890 additions
and
2,179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module.exports = { | ||
export default { | ||
semi: false, | ||
singleQuote: true, | ||
printWidth: 120, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
# TODO | ||
|
||
- For Official release | ||
- [ ] remove `i18n:extends-messages` hook logic | ||
- [ ] remove `parsePage` option logic | ||
- [ ] update `@intlify/**` and vue-i18-* pkgs for latest version | ||
- [ ] update `@intlify/**` and vue-i18-\* pkgs for latest version | ||
- Refactoring | ||
- [ ] module alias, langs option, etc should be resolved with `createResolver` | ||
- [ ] resolve i18n options of nuxt.config with `useRuntimeConfig`, not `i18n.options.mjs` | ||
- [ ] module alias, langs option, etc should be resolved with `createResolver` | ||
- [ ] resolve i18n options of nuxt.config with `useRuntimeConfig`, not `i18n.options.mjs` | ||
- [ ] pass `vueI18n` option as config and pass it to vue-i18n in runtime context. | ||
- [ ] request nuxt sergment parser from `@nuxt/kit` API and use it. | ||
- [ ] request nuxt sergment parser from `@nuxt/kit` API and use it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.