Skip to content

Conversation

kazupon
Copy link
Member

@kazupon kazupon commented Mar 17, 2025

@intlify/core API is not currently documented, but @intlify/core does not have an accessor for locale messages like the getLocaleMessages / setLocaleMessages of vue-i18n.
As shown in the reference, if you want to use @intlify/core, it would be useful to have such an API.

(The API documentation for @intlify/core will be published in the future)

usecases

kazupon/gunshi#29

@kazupon kazupon added the Type: Feature Includes new features label Mar 17, 2025
Copy link

cloudflare-workers-and-pages bot commented Mar 17, 2025

Deploying vue-i18n-next with  Cloudflare Pages  Cloudflare Pages

Latest commit: b061e70
Status: ✅  Deploy successful!
Preview URL: https://918734f0.vue-i18n-next.pages.dev
Branch Preview URL: https://feat-resouce-accessor-in-cor.vue-i18n-next.pages.dev

View logs

Copy link

github-actions bot commented Mar 17, 2025

Size Report

Bundles

File Size Gzip Brotli
core.esm-browser.prod.js 37.80 kB (+0.64 kB) 11.56 kB (+0.21 kB) 10.32 kB (+0.20 kB)
core.global.prod.js 30.97 kB (+0.47 kB) 10.72 kB (+0.17 kB) 9.62 kB (+0.10 kB)
core.runtime.esm-browser.prod.js 23.51 kB (+0.64 kB) 7.65 kB (+0.20 kB) 6.83 kB (+0.18 kB)
core.runtime.global.prod.js 17.95 kB (+0.47 kB) 6.98 kB (+0.17 kB) 6.27 kB (+0.15 kB)
message-compiler.esm-browser.prod.js 19.28 kB 5.76 kB 5.14 kB
message-compiler.global.prod.js 17.32 kB 5.54 kB 4.97 kB
petite-vue-i18n-core.esm-browser.prod.js 20.19 kB 6.78 kB 6.11 kB
petite-vue-i18n-core.global.prod.js 15.47 kB 5.99 kB 5.43 kB
petite-vue-i18n.esm-browser.prod.js 36.69 kB 11.26 kB 10.10 kB
petite-vue-i18n.global.prod.js 29.69 kB 10.12 kB 9.15 kB
petite-vue-i18n.runtime.esm-browser.prod.js 22.25 kB 7.26 kB 6.56 kB
petite-vue-i18n.runtime.global.prod.js 16.69 kB 6.35 kB 5.75 kB
vue-i18n.esm-browser.prod.js 50.29 kB 15.05 kB 13.46 kB
vue-i18n.global.prod.js 40.34 kB 13.52 kB 12.22 kB
vue-i18n.runtime.esm-browser.prod.js 35.86 kB 11.06 kB 9.94 kB
vue-i18n.runtime.global.prod.js 27.32 kB 9.79 kB 8.87 kB

Usages

Name Size Gzip Brotli
packages/size-check-core (@intlify/core) 9.10 kB 3.76 kB 3.41 kB
packages/size-check-petite-vue-i18n (petite-vue-i18n) 77.64 kB 30.26 kB 27.22 kB
packages/size-check-vue-i18n (vue-i18n) 82.65 kB 31.67 kB 28.49 kB

Copy link

pkg-pr-new bot commented Mar 17, 2025

Open in Stackblitz

@intlify/core

npm i https://pkg.pr.new/@intlify/core@2135

@intlify/core-base

npm i https://pkg.pr.new/@intlify/core-base@2135

@intlify/devtools-types

npm i https://pkg.pr.new/@intlify/devtools-types@2135

@intlify/message-compiler

npm i https://pkg.pr.new/@intlify/message-compiler@2135

petite-vue-i18n

npm i https://pkg.pr.new/petite-vue-i18n@2135

@intlify/shared

npm i https://pkg.pr.new/@intlify/shared@2135

vue-i18n

npm i https://pkg.pr.new/vue-i18n@2135

@intlify/vue-i18n-core

npm i https://pkg.pr.new/@intlify/vue-i18n-core@2135

commit: b061e70

@kazupon kazupon merged commit 3903e67 into master Mar 17, 2025
30 checks passed
@kazupon kazupon deleted the feat/resouce-accessor-in-core branch March 17, 2025 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Includes new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant