@intlayer/docs 9.5.5 → 9.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/blog/ar/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/de/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/en/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/en-GB/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/es/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/fr/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/hi/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/id/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/it/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/ja/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/ko/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/pl/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/pt/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/ru/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/tr/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/uk/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/vi/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/blog/zh/transform_existing_vite_react_app_using_compiler.md +4 -2
- package/docs/ar/intlayer_with_astro.md +19 -32
- package/docs/ar/intlayer_with_astro_lit.md +32 -36
- package/docs/ar/intlayer_with_astro_preact.md +32 -36
- package/docs/ar/intlayer_with_astro_react.md +32 -36
- package/docs/ar/intlayer_with_astro_solid.md +32 -36
- package/docs/ar/intlayer_with_astro_svelte.md +32 -36
- package/docs/ar/intlayer_with_astro_vue.md +32 -36
- package/docs/ar/intlayer_with_react_router_v7.md +12 -1
- package/docs/ar/intlayer_with_solid_start.md +14 -7
- package/docs/ar/intlayer_with_svelte_kit.md +12 -1
- package/docs/ar/intlayer_with_tanstack+solid.md +13 -2
- package/docs/ar/intlayer_with_tanstack.md +13 -6
- package/docs/ar/intlayer_with_vite+lit.md +75 -3
- package/docs/ar/intlayer_with_vite+preact.md +27 -19
- package/docs/ar/intlayer_with_vite+react.md +27 -19
- package/docs/ar/intlayer_with_vite+solid.md +27 -19
- package/docs/ar/intlayer_with_vite+svelte.md +27 -19
- package/docs/ar/intlayer_with_vite+vanilla.md +16 -3
- package/docs/ar/intlayer_with_vite+vue.md +27 -19
- package/docs/ar/introduction.md +0 -1
- package/docs/ar/readme.md +0 -1
- package/docs/ar/releases/v8.md +1 -5
- package/docs/bn/intlayer_with_vite+lit.md +75 -3
- package/docs/bn/intlayer_with_vite+vanilla.md +16 -3
- package/docs/bn/introduction.md +0 -1
- package/docs/cs/intlayer_with_vite+lit.md +75 -3
- package/docs/cs/intlayer_with_vite+vanilla.md +16 -3
- package/docs/cs/introduction.md +0 -1
- package/docs/de/intlayer_with_astro.md +12 -25
- package/docs/de/intlayer_with_astro_lit.md +23 -27
- package/docs/de/intlayer_with_astro_preact.md +23 -27
- package/docs/de/intlayer_with_astro_react.md +23 -27
- package/docs/de/intlayer_with_astro_solid.md +23 -27
- package/docs/de/intlayer_with_astro_svelte.md +23 -27
- package/docs/de/intlayer_with_astro_vue.md +23 -27
- package/docs/de/intlayer_with_react_router_v7.md +12 -1
- package/docs/de/intlayer_with_solid_start.md +14 -7
- package/docs/de/intlayer_with_svelte_kit.md +12 -1
- package/docs/de/intlayer_with_tanstack+solid.md +13 -2
- package/docs/de/intlayer_with_tanstack.md +13 -6
- package/docs/de/intlayer_with_vite+lit.md +75 -3
- package/docs/de/intlayer_with_vite+preact.md +16 -3
- package/docs/de/intlayer_with_vite+react.md +16 -3
- package/docs/de/intlayer_with_vite+solid.md +16 -3
- package/docs/de/intlayer_with_vite+svelte.md +16 -3
- package/docs/de/intlayer_with_vite+vanilla.md +16 -3
- package/docs/de/intlayer_with_vite+vue.md +16 -3
- package/docs/de/introduction.md +0 -1
- package/docs/de/readme.md +0 -1
- package/docs/de/releases/v8.md +1 -5
- package/docs/en/intlayer_with_astro.md +5 -20
- package/docs/en/intlayer_with_astro_lit.md +22 -26
- package/docs/en/intlayer_with_astro_preact.md +22 -26
- package/docs/en/intlayer_with_astro_react.md +22 -26
- package/docs/en/intlayer_with_astro_solid.md +22 -26
- package/docs/en/intlayer_with_astro_svelte.md +22 -26
- package/docs/en/intlayer_with_astro_vanilla.md +20 -13
- package/docs/en/intlayer_with_astro_vue.md +22 -26
- package/docs/en/intlayer_with_react_router_v7.md +12 -1
- package/docs/en/intlayer_with_solid_start.md +14 -7
- package/docs/en/intlayer_with_svelte_kit.md +12 -1
- package/docs/en/intlayer_with_tanstack+solid.md +13 -2
- package/docs/en/intlayer_with_tanstack.md +12 -5
- package/docs/en/intlayer_with_vite+lit.md +75 -3
- package/docs/en/intlayer_with_vite+preact.md +16 -3
- package/docs/en/intlayer_with_vite+react.md +16 -3
- package/docs/en/intlayer_with_vite+solid.md +16 -3
- package/docs/en/intlayer_with_vite+svelte.md +16 -3
- package/docs/en/intlayer_with_vite+vanilla.md +16 -3
- package/docs/en/intlayer_with_vite+vue.md +16 -3
- package/docs/en/introduction.md +0 -1
- package/docs/en/readme.md +0 -1
- package/docs/en/releases/v8.md +1 -5
- package/docs/en-GB/intlayer_with_astro.md +12 -25
- package/docs/en-GB/intlayer_with_astro_lit.md +23 -27
- package/docs/en-GB/intlayer_with_astro_preact.md +23 -27
- package/docs/en-GB/intlayer_with_astro_react.md +23 -27
- package/docs/en-GB/intlayer_with_astro_solid.md +23 -27
- package/docs/en-GB/intlayer_with_astro_svelte.md +23 -27
- package/docs/en-GB/intlayer_with_astro_vue.md +23 -27
- package/docs/en-GB/intlayer_with_react_router_v7.md +12 -1
- package/docs/en-GB/intlayer_with_solid_start.md +14 -7
- package/docs/en-GB/intlayer_with_svelte_kit.md +12 -1
- package/docs/en-GB/intlayer_with_tanstack+solid.md +13 -2
- package/docs/en-GB/intlayer_with_tanstack.md +13 -6
- package/docs/en-GB/intlayer_with_vite+lit.md +75 -3
- package/docs/en-GB/intlayer_with_vite+preact.md +16 -3
- package/docs/en-GB/intlayer_with_vite+react.md +16 -3
- package/docs/en-GB/intlayer_with_vite+solid.md +25 -15
- package/docs/en-GB/intlayer_with_vite+svelte.md +16 -3
- package/docs/en-GB/intlayer_with_vite+vanilla.md +16 -3
- package/docs/en-GB/intlayer_with_vite+vue.md +16 -3
- package/docs/en-GB/introduction.md +0 -1
- package/docs/en-GB/readme.md +0 -1
- package/docs/en-GB/releases/v8.md +1 -5
- package/docs/es/intlayer_with_astro.md +12 -25
- package/docs/es/intlayer_with_astro_lit.md +23 -27
- package/docs/es/intlayer_with_astro_preact.md +23 -27
- package/docs/es/intlayer_with_astro_react.md +23 -27
- package/docs/es/intlayer_with_astro_solid.md +23 -27
- package/docs/es/intlayer_with_astro_svelte.md +23 -27
- package/docs/es/intlayer_with_astro_vue.md +23 -27
- package/docs/es/intlayer_with_react_router_v7.md +12 -1
- package/docs/es/intlayer_with_solid_start.md +14 -7
- package/docs/es/intlayer_with_svelte_kit.md +12 -1
- package/docs/es/intlayer_with_tanstack+solid.md +13 -2
- package/docs/es/intlayer_with_tanstack.md +13 -6
- package/docs/es/intlayer_with_vite+lit.md +75 -3
- package/docs/es/intlayer_with_vite+preact.md +16 -3
- package/docs/es/intlayer_with_vite+react.md +16 -3
- package/docs/es/intlayer_with_vite+solid.md +16 -3
- package/docs/es/intlayer_with_vite+svelte.md +16 -3
- package/docs/es/intlayer_with_vite+vanilla.md +16 -3
- package/docs/es/intlayer_with_vite+vue.md +16 -3
- package/docs/es/introduction.md +0 -1
- package/docs/es/readme.md +0 -1
- package/docs/es/releases/v8.md +1 -5
- package/docs/fr/intlayer_with_astro.md +13 -26
- package/docs/fr/intlayer_with_astro_lit.md +24 -28
- package/docs/fr/intlayer_with_astro_preact.md +24 -28
- package/docs/fr/intlayer_with_astro_react.md +24 -28
- package/docs/fr/intlayer_with_astro_solid.md +24 -28
- package/docs/fr/intlayer_with_astro_svelte.md +24 -28
- package/docs/fr/intlayer_with_astro_vue.md +24 -28
- package/docs/fr/intlayer_with_react_router_v7.md +15 -4
- package/docs/fr/intlayer_with_solid_start.md +14 -7
- package/docs/fr/intlayer_with_svelte_kit.md +15 -4
- package/docs/fr/intlayer_with_tanstack+solid.md +15 -4
- package/docs/fr/intlayer_with_tanstack.md +13 -6
- package/docs/fr/intlayer_with_vite+lit.md +75 -3
- package/docs/fr/intlayer_with_vite+preact.md +19 -6
- package/docs/fr/intlayer_with_vite+react.md +19 -6
- package/docs/fr/intlayer_with_vite+solid.md +19 -6
- package/docs/fr/intlayer_with_vite+svelte.md +19 -6
- package/docs/fr/intlayer_with_vite+vanilla.md +19 -6
- package/docs/fr/intlayer_with_vite+vue.md +19 -6
- package/docs/fr/introduction.md +0 -1
- package/docs/fr/readme.md +0 -1
- package/docs/fr/releases/v8.md +1 -5
- package/docs/hi/intlayer_with_astro.md +15 -31
- package/docs/hi/intlayer_with_astro_lit.md +26 -33
- package/docs/hi/intlayer_with_astro_preact.md +26 -33
- package/docs/hi/intlayer_with_astro_react.md +26 -33
- package/docs/hi/intlayer_with_astro_solid.md +26 -33
- package/docs/hi/intlayer_with_astro_svelte.md +26 -33
- package/docs/hi/intlayer_with_astro_vue.md +26 -33
- package/docs/hi/intlayer_with_react_router_v7.md +20 -12
- package/docs/hi/intlayer_with_solid_start.md +14 -7
- package/docs/hi/intlayer_with_svelte_kit.md +20 -12
- package/docs/hi/intlayer_with_tanstack+solid.md +13 -2
- package/docs/hi/intlayer_with_tanstack.md +21 -17
- package/docs/hi/intlayer_with_vite+lit.md +75 -3
- package/docs/hi/intlayer_with_vite+preact.md +24 -14
- package/docs/hi/intlayer_with_vite+react.md +24 -14
- package/docs/hi/intlayer_with_vite+solid.md +24 -14
- package/docs/hi/intlayer_with_vite+svelte.md +24 -14
- package/docs/hi/intlayer_with_vite+vanilla.md +16 -3
- package/docs/hi/intlayer_with_vite+vue.md +24 -14
- package/docs/hi/introduction.md +0 -1
- package/docs/hi/readme.md +0 -1
- package/docs/hi/releases/v8.md +1 -5
- package/docs/id/intlayer_with_astro.md +12 -25
- package/docs/id/intlayer_with_astro_lit.md +23 -27
- package/docs/id/intlayer_with_astro_preact.md +23 -27
- package/docs/id/intlayer_with_astro_react.md +23 -27
- package/docs/id/intlayer_with_astro_solid.md +23 -27
- package/docs/id/intlayer_with_astro_svelte.md +23 -27
- package/docs/id/intlayer_with_astro_vue.md +23 -27
- package/docs/id/intlayer_with_react_router_v7.md +12 -1
- package/docs/id/intlayer_with_solid_start.md +14 -7
- package/docs/id/intlayer_with_svelte_kit.md +12 -1
- package/docs/id/intlayer_with_tanstack+solid.md +13 -2
- package/docs/id/intlayer_with_tanstack.md +13 -6
- package/docs/id/intlayer_with_vite+lit.md +75 -3
- package/docs/id/intlayer_with_vite+preact.md +16 -3
- package/docs/id/intlayer_with_vite+react.md +16 -3
- package/docs/id/intlayer_with_vite+solid.md +16 -3
- package/docs/id/intlayer_with_vite+svelte.md +16 -3
- package/docs/id/intlayer_with_vite+vanilla.md +16 -3
- package/docs/id/intlayer_with_vite+vue.md +16 -3
- package/docs/id/introduction.md +0 -1
- package/docs/id/readme.md +0 -1
- package/docs/id/releases/v8.md +1 -5
- package/docs/it/intlayer_with_astro.md +12 -25
- package/docs/it/intlayer_with_astro_lit.md +23 -27
- package/docs/it/intlayer_with_astro_preact.md +23 -27
- package/docs/it/intlayer_with_astro_react.md +23 -27
- package/docs/it/intlayer_with_astro_solid.md +23 -27
- package/docs/it/intlayer_with_astro_svelte.md +23 -27
- package/docs/it/intlayer_with_astro_vue.md +23 -27
- package/docs/it/intlayer_with_react_router_v7.md +12 -1
- package/docs/it/intlayer_with_solid_start.md +14 -7
- package/docs/it/intlayer_with_svelte_kit.md +12 -1
- package/docs/it/intlayer_with_tanstack+solid.md +13 -2
- package/docs/it/intlayer_with_tanstack.md +13 -6
- package/docs/it/intlayer_with_vite+lit.md +75 -3
- package/docs/it/intlayer_with_vite+preact.md +16 -3
- package/docs/it/intlayer_with_vite+react.md +16 -3
- package/docs/it/intlayer_with_vite+solid.md +16 -3
- package/docs/it/intlayer_with_vite+svelte.md +16 -3
- package/docs/it/intlayer_with_vite+vanilla.md +16 -3
- package/docs/it/intlayer_with_vite+vue.md +16 -3
- package/docs/it/introduction.md +0 -1
- package/docs/it/readme.md +0 -1
- package/docs/it/releases/v8.md +1 -5
- package/docs/ja/intlayer_with_astro.md +12 -25
- package/docs/ja/intlayer_with_astro_lit.md +23 -27
- package/docs/ja/intlayer_with_astro_preact.md +23 -27
- package/docs/ja/intlayer_with_astro_react.md +23 -27
- package/docs/ja/intlayer_with_astro_solid.md +23 -27
- package/docs/ja/intlayer_with_astro_svelte.md +23 -27
- package/docs/ja/intlayer_with_astro_vue.md +23 -27
- package/docs/ja/intlayer_with_react_router_v7.md +12 -1
- package/docs/ja/intlayer_with_solid_start.md +14 -7
- package/docs/ja/intlayer_with_svelte_kit.md +21 -15
- package/docs/ja/intlayer_with_tanstack+solid.md +13 -2
- package/docs/ja/intlayer_with_tanstack.md +13 -6
- package/docs/ja/intlayer_with_vite+lit.md +75 -3
- package/docs/ja/intlayer_with_vite+preact.md +16 -3
- package/docs/ja/intlayer_with_vite+react.md +16 -3
- package/docs/ja/intlayer_with_vite+solid.md +16 -3
- package/docs/ja/intlayer_with_vite+svelte.md +16 -3
- package/docs/ja/intlayer_with_vite+vanilla.md +16 -3
- package/docs/ja/intlayer_with_vite+vue.md +16 -3
- package/docs/ja/introduction.md +0 -1
- package/docs/ja/readme.md +0 -1
- package/docs/ja/releases/v8.md +1 -5
- package/docs/ko/intlayer_with_astro.md +6 -21
- package/docs/ko/intlayer_with_astro_lit.md +23 -27
- package/docs/ko/intlayer_with_astro_preact.md +23 -27
- package/docs/ko/intlayer_with_astro_react.md +23 -27
- package/docs/ko/intlayer_with_astro_solid.md +23 -27
- package/docs/ko/intlayer_with_astro_svelte.md +23 -27
- package/docs/ko/intlayer_with_astro_vue.md +23 -27
- package/docs/ko/intlayer_with_react_router_v7.md +12 -1
- package/docs/ko/intlayer_with_solid_start.md +14 -7
- package/docs/ko/intlayer_with_svelte_kit.md +12 -1
- package/docs/ko/intlayer_with_tanstack+solid.md +13 -2
- package/docs/ko/intlayer_with_tanstack.md +13 -6
- package/docs/ko/intlayer_with_vite+lit.md +75 -3
- package/docs/ko/intlayer_with_vite+preact.md +16 -3
- package/docs/ko/intlayer_with_vite+react.md +16 -3
- package/docs/ko/intlayer_with_vite+solid.md +26 -16
- package/docs/ko/intlayer_with_vite+svelte.md +16 -3
- package/docs/ko/intlayer_with_vite+vanilla.md +16 -3
- package/docs/ko/intlayer_with_vite+vue.md +16 -3
- package/docs/ko/introduction.md +0 -1
- package/docs/ko/readme.md +0 -1
- package/docs/ko/releases/v8.md +1 -5
- package/docs/nl/intlayer_with_vite+lit.md +75 -3
- package/docs/nl/intlayer_with_vite+vanilla.md +16 -3
- package/docs/nl/introduction.md +0 -1
- package/docs/pl/intlayer_with_astro.md +6 -21
- package/docs/pl/intlayer_with_astro_lit.md +23 -27
- package/docs/pl/intlayer_with_astro_preact.md +23 -27
- package/docs/pl/intlayer_with_astro_react.md +23 -27
- package/docs/pl/intlayer_with_astro_solid.md +23 -27
- package/docs/pl/intlayer_with_astro_svelte.md +23 -27
- package/docs/pl/intlayer_with_astro_vue.md +23 -27
- package/docs/pl/intlayer_with_react_router_v7.md +12 -1
- package/docs/pl/intlayer_with_solid_start.md +14 -7
- package/docs/pl/intlayer_with_svelte_kit.md +12 -1
- package/docs/pl/intlayer_with_tanstack+solid.md +13 -2
- package/docs/pl/intlayer_with_tanstack.md +13 -6
- package/docs/pl/intlayer_with_vite+lit.md +75 -3
- package/docs/pl/intlayer_with_vite+preact.md +16 -3
- package/docs/pl/intlayer_with_vite+react.md +16 -3
- package/docs/pl/intlayer_with_vite+solid.md +16 -3
- package/docs/pl/intlayer_with_vite+svelte.md +16 -3
- package/docs/pl/intlayer_with_vite+vanilla.md +16 -3
- package/docs/pl/intlayer_with_vite+vue.md +16 -3
- package/docs/pl/introduction.md +0 -1
- package/docs/pl/readme.md +0 -1
- package/docs/pl/releases/v8.md +1 -5
- package/docs/pt/intlayer_with_astro.md +6 -21
- package/docs/pt/intlayer_with_astro_lit.md +23 -27
- package/docs/pt/intlayer_with_astro_preact.md +23 -27
- package/docs/pt/intlayer_with_astro_react.md +23 -27
- package/docs/pt/intlayer_with_astro_solid.md +23 -27
- package/docs/pt/intlayer_with_astro_svelte.md +23 -27
- package/docs/pt/intlayer_with_astro_vue.md +23 -27
- package/docs/pt/intlayer_with_react_router_v7.md +12 -1
- package/docs/pt/intlayer_with_solid_start.md +14 -7
- package/docs/pt/intlayer_with_svelte_kit.md +12 -1
- package/docs/pt/intlayer_with_tanstack+solid.md +13 -2
- package/docs/pt/intlayer_with_tanstack.md +13 -6
- package/docs/pt/intlayer_with_vite+lit.md +75 -3
- package/docs/pt/intlayer_with_vite+preact.md +16 -3
- package/docs/pt/intlayer_with_vite+react.md +16 -3
- package/docs/pt/intlayer_with_vite+solid.md +16 -3
- package/docs/pt/intlayer_with_vite+svelte.md +16 -3
- package/docs/pt/intlayer_with_vite+vanilla.md +16 -3
- package/docs/pt/intlayer_with_vite+vue.md +16 -3
- package/docs/pt/introduction.md +0 -1
- package/docs/pt/readme.md +0 -1
- package/docs/pt/releases/v8.md +1 -5
- package/docs/ru/intlayer_with_astro.md +12 -25
- package/docs/ru/intlayer_with_astro_lit.md +23 -27
- package/docs/ru/intlayer_with_astro_preact.md +23 -27
- package/docs/ru/intlayer_with_astro_react.md +23 -27
- package/docs/ru/intlayer_with_astro_solid.md +23 -27
- package/docs/ru/intlayer_with_astro_svelte.md +23 -27
- package/docs/ru/intlayer_with_astro_vue.md +23 -27
- package/docs/ru/intlayer_with_react_router_v7.md +12 -1
- package/docs/ru/intlayer_with_solid_start.md +14 -7
- package/docs/ru/intlayer_with_svelte_kit.md +12 -1
- package/docs/ru/intlayer_with_tanstack+solid.md +13 -2
- package/docs/ru/intlayer_with_tanstack.md +13 -6
- package/docs/ru/intlayer_with_vite+lit.md +75 -3
- package/docs/ru/intlayer_with_vite+preact.md +16 -3
- package/docs/ru/intlayer_with_vite+react.md +16 -3
- package/docs/ru/intlayer_with_vite+solid.md +16 -3
- package/docs/ru/intlayer_with_vite+svelte.md +16 -3
- package/docs/ru/intlayer_with_vite+vanilla.md +16 -3
- package/docs/ru/intlayer_with_vite+vue.md +16 -3
- package/docs/ru/introduction.md +0 -1
- package/docs/ru/readme.md +0 -1
- package/docs/ru/releases/v8.md +1 -5
- package/docs/tr/intlayer_with_astro.md +12 -25
- package/docs/tr/intlayer_with_astro_lit.md +24 -28
- package/docs/tr/intlayer_with_astro_preact.md +24 -28
- package/docs/tr/intlayer_with_astro_react.md +24 -28
- package/docs/tr/intlayer_with_astro_solid.md +24 -28
- package/docs/tr/intlayer_with_astro_svelte.md +24 -28
- package/docs/tr/intlayer_with_astro_vue.md +24 -28
- package/docs/tr/intlayer_with_react_router_v7.md +12 -1
- package/docs/tr/intlayer_with_solid_start.md +14 -7
- package/docs/tr/intlayer_with_svelte_kit.md +12 -1
- package/docs/tr/intlayer_with_tanstack+solid.md +13 -2
- package/docs/tr/intlayer_with_tanstack.md +13 -6
- package/docs/tr/intlayer_with_vite+lit.md +75 -3
- package/docs/tr/intlayer_with_vite+preact.md +16 -3
- package/docs/tr/intlayer_with_vite+react.md +16 -3
- package/docs/tr/intlayer_with_vite+solid.md +16 -3
- package/docs/tr/intlayer_with_vite+svelte.md +16 -3
- package/docs/tr/intlayer_with_vite+vanilla.md +16 -3
- package/docs/tr/intlayer_with_vite+vue.md +16 -3
- package/docs/tr/introduction.md +0 -1
- package/docs/tr/readme.md +0 -1
- package/docs/tr/releases/v8.md +1 -5
- package/docs/uk/intlayer_with_astro.md +12 -25
- package/docs/uk/intlayer_with_astro_lit.md +23 -27
- package/docs/uk/intlayer_with_astro_preact.md +23 -27
- package/docs/uk/intlayer_with_astro_react.md +23 -27
- package/docs/uk/intlayer_with_astro_solid.md +23 -27
- package/docs/uk/intlayer_with_astro_svelte.md +23 -27
- package/docs/uk/intlayer_with_astro_vue.md +23 -27
- package/docs/uk/intlayer_with_react_router_v7.md +12 -1
- package/docs/uk/intlayer_with_solid_start.md +14 -7
- package/docs/uk/intlayer_with_svelte_kit.md +12 -1
- package/docs/uk/intlayer_with_tanstack+solid.md +13 -2
- package/docs/uk/intlayer_with_tanstack.md +13 -6
- package/docs/uk/intlayer_with_vite+lit.md +75 -3
- package/docs/uk/intlayer_with_vite+preact.md +16 -3
- package/docs/uk/intlayer_with_vite+react.md +16 -3
- package/docs/uk/intlayer_with_vite+solid.md +16 -3
- package/docs/uk/intlayer_with_vite+svelte.md +16 -3
- package/docs/uk/intlayer_with_vite+vanilla.md +16 -3
- package/docs/uk/intlayer_with_vite+vue.md +16 -3
- package/docs/uk/introduction.md +0 -1
- package/docs/uk/readme.md +0 -1
- package/docs/uk/releases/v8.md +1 -5
- package/docs/ur/intlayer_with_vite+lit.md +75 -3
- package/docs/ur/intlayer_with_vite+vanilla.md +16 -3
- package/docs/ur/introduction.md +0 -1
- package/docs/vi/intlayer_with_astro.md +12 -25
- package/docs/vi/intlayer_with_astro_lit.md +23 -27
- package/docs/vi/intlayer_with_astro_preact.md +23 -27
- package/docs/vi/intlayer_with_astro_react.md +23 -27
- package/docs/vi/intlayer_with_astro_solid.md +23 -27
- package/docs/vi/intlayer_with_astro_svelte.md +23 -27
- package/docs/vi/intlayer_with_astro_vue.md +23 -27
- package/docs/vi/intlayer_with_react_router_v7.md +12 -1
- package/docs/vi/intlayer_with_solid_start.md +14 -7
- package/docs/vi/intlayer_with_svelte_kit.md +12 -1
- package/docs/vi/intlayer_with_tanstack+solid.md +13 -2
- package/docs/vi/intlayer_with_tanstack.md +13 -6
- package/docs/vi/intlayer_with_vite+lit.md +75 -3
- package/docs/vi/intlayer_with_vite+preact.md +16 -3
- package/docs/vi/intlayer_with_vite+react.md +16 -3
- package/docs/vi/intlayer_with_vite+solid.md +16 -3
- package/docs/vi/intlayer_with_vite+svelte.md +16 -3
- package/docs/vi/intlayer_with_vite+vanilla.md +16 -3
- package/docs/vi/intlayer_with_vite+vue.md +16 -3
- package/docs/vi/introduction.md +0 -1
- package/docs/vi/readme.md +0 -1
- package/docs/vi/releases/v8.md +1 -5
- package/docs/zh/intlayer_with_astro.md +6 -21
- package/docs/zh/intlayer_with_astro_lit.md +23 -27
- package/docs/zh/intlayer_with_astro_preact.md +23 -27
- package/docs/zh/intlayer_with_astro_react.md +23 -27
- package/docs/zh/intlayer_with_astro_solid.md +23 -27
- package/docs/zh/intlayer_with_astro_svelte.md +23 -27
- package/docs/zh/intlayer_with_astro_vue.md +23 -27
- package/docs/zh/intlayer_with_react_router_v7.md +12 -1
- package/docs/zh/intlayer_with_solid_start.md +14 -7
- package/docs/zh/intlayer_with_svelte_kit.md +12 -1
- package/docs/zh/intlayer_with_tanstack+solid.md +13 -2
- package/docs/zh/intlayer_with_tanstack.md +13 -6
- package/docs/zh/intlayer_with_vite+lit.md +75 -3
- package/docs/zh/intlayer_with_vite+preact.md +16 -3
- package/docs/zh/intlayer_with_vite+react.md +16 -3
- package/docs/zh/intlayer_with_vite+solid.md +16 -3
- package/docs/zh/intlayer_with_vite+svelte.md +16 -3
- package/docs/zh/intlayer_with_vite+vanilla.md +16 -3
- package/docs/zh/intlayer_with_vite+vue.md +16 -3
- package/docs/zh/introduction.md +0 -1
- package/docs/zh/readme.md +0 -1
- package/docs/zh/releases/v8.md +1 -5
- package/docs/zh-TW/introduction.md +0 -1
- package/package.json +6 -6
- package/docs/ar/intlayer_with_astro_vanilla.md +0 -709
- package/docs/de/intlayer_with_astro_vanilla.md +0 -705
- package/docs/en-GB/intlayer_with_astro_vanilla.md +0 -709
- package/docs/es/intlayer_with_astro_vanilla.md +0 -701
- package/docs/fr/intlayer_with_astro_vanilla.md +0 -701
- package/docs/hi/intlayer_with_astro_vanilla.md +0 -720
- package/docs/id/intlayer_with_astro_vanilla.md +0 -705
- package/docs/it/intlayer_with_astro_vanilla.md +0 -705
- package/docs/ja/intlayer_with_astro_vanilla.md +0 -708
- package/docs/ko/intlayer_with_astro_vanilla.md +0 -720
- package/docs/pl/intlayer_with_astro_vanilla.md +0 -705
- package/docs/pt/intlayer_with_astro_vanilla.md +0 -705
- package/docs/ru/intlayer_with_astro_vanilla.md +0 -716
- package/docs/tr/intlayer_with_astro_vanilla.md +0 -705
- package/docs/uk/intlayer_with_astro_vanilla.md +0 -705
- package/docs/vi/intlayer_with_astro_vanilla.md +0 -705
- package/docs/zh/intlayer_with_astro_vanilla.md +0 -704
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-04-18
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-09-20
|
|
4
4
|
title: "Vite + Svelte i18n - 앱을 번역하는 완전 가이드"
|
|
5
5
|
description: "i18next는 이제 그만. 2026년 다국어 (i18n) Vite + Svelte 앱 구축 가이드. AI 에이전트로 번역하고 번들 크기, SEO, 성능을 최적화하세요."
|
|
6
6
|
keywords:
|
|
@@ -601,8 +601,14 @@ bun x intlayer extract
|
|
|
601
601
|
</Tab>
|
|
602
602
|
<Tab value='Babel compiler'>
|
|
603
603
|
|
|
604
|
+
<Tabs>
|
|
605
|
+
<Tab value='intlayer >= 9'>
|
|
606
|
+
|
|
604
607
|
> v9 이후로, `intlayerCompiler`은 `intlayer` 플러그인에 포함되어 있습니다. 따라서 수동으로 추가할 필요가 없습니다.
|
|
605
608
|
|
|
609
|
+
</Tab>
|
|
610
|
+
<Tab value='intlayer < 9'>
|
|
611
|
+
|
|
606
612
|
`vite.config.ts`를 업데이트하여 `intlayerCompiler` 플러그인을 포함하세요:
|
|
607
613
|
|
|
608
614
|
```ts fileName="vite.config.ts"
|
|
@@ -617,6 +623,11 @@ export default defineConfig({
|
|
|
617
623
|
});
|
|
618
624
|
```
|
|
619
625
|
|
|
626
|
+
</Tab>
|
|
627
|
+
</Tabs>
|
|
628
|
+
|
|
629
|
+
애플리케이션을 빌드하여 컴포넌트를 변환하고 콘텐츠를 추출합니다.
|
|
630
|
+
|
|
620
631
|
```bash packageManager="npm"
|
|
621
632
|
npm run build # 또는 npm run dev
|
|
622
633
|
```
|
|
@@ -673,7 +684,9 @@ const pathList = [
|
|
|
673
684
|
{ path: "/about", changefreq: "monthly", priority: 0.7 },
|
|
674
685
|
];
|
|
675
686
|
|
|
676
|
-
const sitemapXml = generateSitemap(pathList, {
|
|
687
|
+
const sitemapXml = generateSitemap(pathList, {
|
|
688
|
+
siteUrl: "https://example.com",
|
|
689
|
+
});
|
|
677
690
|
fs.writeFileSync(path.join(__dirname, "public", "sitemap.xml"), sitemapXml);
|
|
678
691
|
|
|
679
692
|
const getAllMultilingualUrls = (urls) =>
|
|
@@ -686,7 +699,7 @@ const robotsTxt = [
|
|
|
686
699
|
"Allow: /",
|
|
687
700
|
...disallowedPaths.map((path) => `Disallow: ${path}`),
|
|
688
701
|
"",
|
|
689
|
-
`Sitemap:
|
|
702
|
+
`Sitemap: https://example.com/sitemap.xml`,
|
|
690
703
|
].join("\n");
|
|
691
704
|
|
|
692
705
|
fs.writeFileSync(path.join(__dirname, "public", "robots.txt"), robotsTxt);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2026-03-23
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-09-20
|
|
4
4
|
title: "Vite + Vanilla JS i18n - 앱을 번역하는 완전 가이드"
|
|
5
5
|
description: "i18next는 이제 그만. 2026년 다국어 (i18n) Vite + Vanilla JS 앱 구축 가이드. AI 에이전트로 번역하고 번들 크기, SEO, 성능을 최적화하세요."
|
|
6
6
|
keywords:
|
|
@@ -613,8 +613,14 @@ bun x intlayer extract
|
|
|
613
613
|
</Tab>
|
|
614
614
|
<Tab value='Babel compiler'>
|
|
615
615
|
|
|
616
|
+
<Tabs>
|
|
617
|
+
<Tab value='intlayer >= 9'>
|
|
618
|
+
|
|
616
619
|
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
617
620
|
|
|
621
|
+
</Tab>
|
|
622
|
+
<Tab value='intlayer < 9'>
|
|
623
|
+
|
|
618
624
|
`intlayerCompiler` 플러그인을 포함하도록 `vite.config.ts`를 업데이트합니다:
|
|
619
625
|
|
|
620
626
|
```ts fileName="vite.config.ts"
|
|
@@ -629,6 +635,11 @@ export default defineConfig({
|
|
|
629
635
|
});
|
|
630
636
|
```
|
|
631
637
|
|
|
638
|
+
</Tab>
|
|
639
|
+
</Tabs>
|
|
640
|
+
|
|
641
|
+
애플리케이션을 빌드하여 컴포넌트를 변환하고 콘텐츠를 추출합니다.
|
|
642
|
+
|
|
632
643
|
```bash packageManager="npm"
|
|
633
644
|
npm run build # 또는 npm run dev
|
|
634
645
|
```
|
|
@@ -685,7 +696,9 @@ const pathList = [
|
|
|
685
696
|
{ path: "/about", changefreq: "monthly", priority: 0.7 },
|
|
686
697
|
];
|
|
687
698
|
|
|
688
|
-
const sitemapXml = generateSitemap(pathList, {
|
|
699
|
+
const sitemapXml = generateSitemap(pathList, {
|
|
700
|
+
siteUrl: "https://example.com",
|
|
701
|
+
});
|
|
689
702
|
fs.writeFileSync(path.join(__dirname, "public", "sitemap.xml"), sitemapXml);
|
|
690
703
|
|
|
691
704
|
const getAllMultilingualUrls = (urls) =>
|
|
@@ -698,7 +711,7 @@ const robotsTxt = [
|
|
|
698
711
|
"Allow: /",
|
|
699
712
|
...disallowedPaths.map((path) => `Disallow: ${path}`),
|
|
700
713
|
"",
|
|
701
|
-
`Sitemap:
|
|
714
|
+
`Sitemap: https://example.com/sitemap.xml`,
|
|
702
715
|
].join("\n");
|
|
703
716
|
|
|
704
717
|
fs.writeFileSync(path.join(__dirname, "public", "robots.txt"), robotsTxt);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2025-04-18
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-09-20
|
|
4
4
|
title: "Vite + Vue i18n - 앱을 번역하는 완전 가이드"
|
|
5
5
|
description: "i18next는 이제 그만. 2026년 다국어 (i18n) Vite + Vue 앱 구축 가이드. AI 에이전트로 번역하고 번들 크기, SEO, 성능을 최적화하세요."
|
|
6
6
|
keywords:
|
|
@@ -989,8 +989,14 @@ bun x intlayer extract
|
|
|
989
989
|
</Tab>
|
|
990
990
|
<Tab value='Babel 컴파일러'>
|
|
991
991
|
|
|
992
|
+
<Tabs>
|
|
993
|
+
<Tab value='intlayer >= 9'>
|
|
994
|
+
|
|
992
995
|
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
993
996
|
|
|
997
|
+
</Tab>
|
|
998
|
+
<Tab value='intlayer < 9'>
|
|
999
|
+
|
|
994
1000
|
`vite.config.ts`를 업데이트하여 `intlayerCompiler` 플러그인을 포함합니다.
|
|
995
1001
|
|
|
996
1002
|
```ts fileName="vite.config.ts"
|
|
@@ -1005,6 +1011,11 @@ export default defineConfig({
|
|
|
1005
1011
|
});
|
|
1006
1012
|
```
|
|
1007
1013
|
|
|
1014
|
+
</Tab>
|
|
1015
|
+
</Tabs>
|
|
1016
|
+
|
|
1017
|
+
애플리케이션을 빌드하여 컴포넌트를 변환하고 콘텐츠를 추출합니다.
|
|
1018
|
+
|
|
1008
1019
|
```bash packageManager="npm"
|
|
1009
1020
|
npm run build # 또는 npm run dev
|
|
1010
1021
|
```
|
|
@@ -1061,7 +1072,9 @@ const pathList = [
|
|
|
1061
1072
|
{ path: "/about", changefreq: "monthly", priority: 0.7 },
|
|
1062
1073
|
];
|
|
1063
1074
|
|
|
1064
|
-
const sitemapXml = generateSitemap(pathList, {
|
|
1075
|
+
const sitemapXml = generateSitemap(pathList, {
|
|
1076
|
+
siteUrl: "https://example.com",
|
|
1077
|
+
});
|
|
1065
1078
|
fs.writeFileSync(path.join(__dirname, "public", "sitemap.xml"), sitemapXml);
|
|
1066
1079
|
|
|
1067
1080
|
const getAllMultilingualUrls = (urls) =>
|
|
@@ -1074,7 +1087,7 @@ const robotsTxt = [
|
|
|
1074
1087
|
"Allow: /",
|
|
1075
1088
|
...disallowedPaths.map((path) => `Disallow: ${path}`),
|
|
1076
1089
|
"",
|
|
1077
|
-
`Sitemap:
|
|
1090
|
+
`Sitemap: https://example.com/sitemap.xml`,
|
|
1078
1091
|
].join("\n");
|
|
1079
1092
|
|
|
1080
1093
|
fs.writeFileSync(path.join(__dirname, "public", "robots.txt"), robotsTxt);
|
package/docs/ko/introduction.md
CHANGED
|
@@ -189,7 +189,6 @@ Intlayer는 현대 웹 개발의 요구를 충족하도록 설계된 다양한
|
|
|
189
189
|
- **[Intlayer와 Astro + Solid](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/intlayer_with_astro_solid.md)**
|
|
190
190
|
- **[Intlayer와 Astro + Preact](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/intlayer_with_astro_preact.md)**
|
|
191
191
|
- **[Intlayer와 Astro + Lit](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/intlayer_with_astro_lit.md)**
|
|
192
|
-
- **[Intlayer와 Astro + Vanilla JS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/intlayer_with_astro_vanilla.md)**
|
|
193
192
|
- **[Intlayer와 Vite + Vue](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/intlayer_with_vite+vue.md)**
|
|
194
193
|
- **[Intlayer와 Nuxt](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/intlayer_with_nuxt.md)**
|
|
195
194
|
- **[Intlayer와 Vite + Svelte](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/intlayer_with_vite+svelte.md)**
|
package/docs/ko/readme.md
CHANGED
|
@@ -212,7 +212,6 @@ Intlayer를 시작하고 프로젝트에 통합하는 방법을 배우려면 종
|
|
|
212
212
|
<li><a href="https://intlayer.org/doc/environment/astro/vue" rel=''>Vue</a></li>
|
|
213
213
|
<li><a href="https://intlayer.org/doc/environment/astro/svelte" rel=''>Svelte</a></li>
|
|
214
214
|
<li><a href="https://intlayer.org/doc/environment/astro/solid" rel=''>Solid</a></li>
|
|
215
|
-
<li><a href="https://intlayer.org/doc/environment/astro/vanilla" rel=''>Vanilla JS</a></li>
|
|
216
215
|
<li><a href="https://intlayer.org/doc/environment/astro/lit" rel=''>Lit</a></li>
|
|
217
216
|
</ul>
|
|
218
217
|
</li>
|
package/docs/ko/releases/v8.md
CHANGED
|
@@ -1328,10 +1328,6 @@ Intlayer는 이제 로케일 및 라우팅 모드를 기반으로 사이트맵
|
|
|
1328
1328
|
import { createFileRoute } from "@tanstack/react-router";
|
|
1329
1329
|
import { generateSitemap } from "intlayer";
|
|
1330
1330
|
|
|
1331
|
-
const SITE_URL = (
|
|
1332
|
-
import.meta.env.VITE_SITE_URL ?? "http://localhost:3000"
|
|
1333
|
-
).replace(/\/$/, "");
|
|
1334
|
-
|
|
1335
1331
|
export const Route = createFileRoute("/sitemap.xml")({
|
|
1336
1332
|
server: {
|
|
1337
1333
|
handlers: {
|
|
@@ -1341,7 +1337,7 @@ export const Route = createFileRoute("/sitemap.xml")({
|
|
|
1341
1337
|
{ path: "/", changefreq: "daily", priority: 1.0 },
|
|
1342
1338
|
{ path: "/about", changefreq: "monthly", priority: 0.8 },
|
|
1343
1339
|
],
|
|
1344
|
-
{ siteUrl:
|
|
1340
|
+
{ siteUrl: "https://example.com" }
|
|
1345
1341
|
);
|
|
1346
1342
|
|
|
1347
1343
|
return new Response(sitemap, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2026-03-23
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-09-20
|
|
4
4
|
title: "Vite + Lit i18n - Volledige gids voor het vertalen van uw app"
|
|
5
5
|
description: "Geen i18next meer. De 2026-gids voor het bouwen van een meertalige (i18n) Vite + Lit-app. Vertaal met AI-agenten en optimaliseer bundelgrootte, SEO en prestaties."
|
|
6
6
|
keywords:
|
|
@@ -544,6 +544,76 @@ const config: IntlayerConfig = {
|
|
|
544
544
|
export default config;
|
|
545
545
|
```
|
|
546
546
|
|
|
547
|
+
<Tabs>
|
|
548
|
+
<Tab value='Extract-opdracht'>
|
|
549
|
+
|
|
550
|
+
Voer de extractor uit om uw componenten te transformeren en de inhoud te extraheren
|
|
551
|
+
|
|
552
|
+
```bash packageManager="npm"
|
|
553
|
+
npx intlayer extract
|
|
554
|
+
```
|
|
555
|
+
|
|
556
|
+
```bash packageManager="pnpm"
|
|
557
|
+
pnpm intlayer extract
|
|
558
|
+
```
|
|
559
|
+
|
|
560
|
+
```bash packageManager="yarn"
|
|
561
|
+
yarn intlayer extract
|
|
562
|
+
```
|
|
563
|
+
|
|
564
|
+
```bash packageManager="bun"
|
|
565
|
+
bun x intlayer extract
|
|
566
|
+
```
|
|
567
|
+
|
|
568
|
+
</Tab>
|
|
569
|
+
<Tab value='Babel-compiler'>
|
|
570
|
+
|
|
571
|
+
<Tabs>
|
|
572
|
+
<Tab value='intlayer >= 9'>
|
|
573
|
+
|
|
574
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
575
|
+
|
|
576
|
+
</Tab>
|
|
577
|
+
<Tab value='intlayer < 9'>
|
|
578
|
+
|
|
579
|
+
Werk uw `vite.config.ts` bij om de `intlayerCompiler`-plugin op te nemen:
|
|
580
|
+
|
|
581
|
+
```ts fileName="vite.config.ts"
|
|
582
|
+
import { defineConfig } from "vite";
|
|
583
|
+
import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
584
|
+
|
|
585
|
+
export default defineConfig({
|
|
586
|
+
plugins: [
|
|
587
|
+
intlayer(),
|
|
588
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
589
|
+
],
|
|
590
|
+
});
|
|
591
|
+
```
|
|
592
|
+
|
|
593
|
+
</Tab>
|
|
594
|
+
</Tabs>
|
|
595
|
+
|
|
596
|
+
Bouw uw applicatie om uw componenten te transformeren en de inhoud te extraheren
|
|
597
|
+
|
|
598
|
+
```bash packageManager="npm"
|
|
599
|
+
npm run build # Of npm run dev
|
|
600
|
+
```
|
|
601
|
+
|
|
602
|
+
```bash packageManager="pnpm"
|
|
603
|
+
pnpm run build # Of pnpm run dev
|
|
604
|
+
```
|
|
605
|
+
|
|
606
|
+
```bash packageManager="yarn"
|
|
607
|
+
yarn build # Of yarn dev
|
|
608
|
+
```
|
|
609
|
+
|
|
610
|
+
```bash packageManager="bun"
|
|
611
|
+
bun run build # Of bun run dev
|
|
612
|
+
```
|
|
613
|
+
|
|
614
|
+
</Tab>
|
|
615
|
+
</Tabs>
|
|
616
|
+
|
|
547
617
|
</Step>
|
|
548
618
|
|
|
549
619
|
</Steps>
|
|
@@ -582,7 +652,9 @@ const pathList = [
|
|
|
582
652
|
{ path: "/about", changefreq: "monthly", priority: 0.7 },
|
|
583
653
|
];
|
|
584
654
|
|
|
585
|
-
const sitemapXml = generateSitemap(pathList, {
|
|
655
|
+
const sitemapXml = generateSitemap(pathList, {
|
|
656
|
+
siteUrl: "https://example.com",
|
|
657
|
+
});
|
|
586
658
|
fs.writeFileSync(path.join(__dirname, "public", "sitemap.xml"), sitemapXml);
|
|
587
659
|
|
|
588
660
|
const getAllMultilingualUrls = (urls) =>
|
|
@@ -595,7 +667,7 @@ const robotsTxt = [
|
|
|
595
667
|
"Allow: /",
|
|
596
668
|
...disallowedPaths.map((path) => `Disallow: ${path}`),
|
|
597
669
|
"",
|
|
598
|
-
`Sitemap:
|
|
670
|
+
`Sitemap: https://example.com/sitemap.xml`,
|
|
599
671
|
].join("\n");
|
|
600
672
|
|
|
601
673
|
fs.writeFileSync(path.join(__dirname, "public", "robots.txt"), robotsTxt);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2026-03-23
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-09-20
|
|
4
4
|
title: "Vite + Vanilla JS i18n - Volledige gids voor het vertalen van uw app"
|
|
5
5
|
description: "Geen i18next meer. De 2026-gids voor het bouwen van een meertalige (i18n) Vite + Vanilla JS-app. Vertaal met AI-agenten en optimaliseer bundelgrootte, SEO en prestaties."
|
|
6
6
|
keywords:
|
|
@@ -559,8 +559,14 @@ bun x intlayer extract
|
|
|
559
559
|
</Tab>
|
|
560
560
|
<Tab value='Babel-compiler'>
|
|
561
561
|
|
|
562
|
+
<Tabs>
|
|
563
|
+
<Tab value='intlayer >= 9'>
|
|
564
|
+
|
|
562
565
|
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
563
566
|
|
|
567
|
+
</Tab>
|
|
568
|
+
<Tab value='intlayer < 9'>
|
|
569
|
+
|
|
564
570
|
Werk uw `vite.config.ts` bij om de `intlayerCompiler`-plugin op te nemen:
|
|
565
571
|
|
|
566
572
|
```ts fileName="vite.config.ts"
|
|
@@ -575,6 +581,11 @@ export default defineConfig({
|
|
|
575
581
|
});
|
|
576
582
|
```
|
|
577
583
|
|
|
584
|
+
</Tab>
|
|
585
|
+
</Tabs>
|
|
586
|
+
|
|
587
|
+
Bouw uw applicatie om uw componenten te transformeren en de inhoud te extraheren
|
|
588
|
+
|
|
578
589
|
```bash packageManager="npm"
|
|
579
590
|
npm run build # Of npm run dev
|
|
580
591
|
```
|
|
@@ -631,7 +642,9 @@ const pathList = [
|
|
|
631
642
|
{ path: "/about", changefreq: "monthly", priority: 0.7 },
|
|
632
643
|
];
|
|
633
644
|
|
|
634
|
-
const sitemapXml = generateSitemap(pathList, {
|
|
645
|
+
const sitemapXml = generateSitemap(pathList, {
|
|
646
|
+
siteUrl: "https://example.com",
|
|
647
|
+
});
|
|
635
648
|
fs.writeFileSync(path.join(__dirname, "public", "sitemap.xml"), sitemapXml);
|
|
636
649
|
|
|
637
650
|
const getAllMultilingualUrls = (urls) =>
|
|
@@ -644,7 +657,7 @@ const robotsTxt = [
|
|
|
644
657
|
"Allow: /",
|
|
645
658
|
...disallowedPaths.map((path) => `Disallow: ${path}`),
|
|
646
659
|
"",
|
|
647
|
-
`Sitemap:
|
|
660
|
+
`Sitemap: https://example.com/sitemap.xml`,
|
|
648
661
|
].join("\n");
|
|
649
662
|
|
|
650
663
|
fs.writeFileSync(path.join(__dirname, "public", "robots.txt"), robotsTxt);
|
package/docs/nl/introduction.md
CHANGED
|
@@ -189,7 +189,6 @@ We hebben Intlayer gebouwd met flexibiliteit in gedachten, en bieden een naadloz
|
|
|
189
189
|
- **[Intlayer met Astro + Solid](https://github.com/aymericzip/intlayer/blob/main/docs/docs/nl/intlayer_with_astro_solid.md)**
|
|
190
190
|
- **[Intlayer met Astro + Preact](https://github.com/aymericzip/intlayer/blob/main/docs/docs/nl/intlayer_with_astro_preact.md)**
|
|
191
191
|
- **[Intlayer met Astro + Lit](https://github.com/aymericzip/intlayer/blob/main/docs/docs/nl/intlayer_with_astro_lit.md)**
|
|
192
|
-
- **[Intlayer met Astro + Vanilla JS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/nl/intlayer_with_astro_vanilla.md)**
|
|
193
192
|
- **[Intlayer met Vite + Vue](https://github.com/aymericzip/intlayer/blob/main/docs/docs/nl/intlayer_with_vite+vue.md)**
|
|
194
193
|
- **[Intlayer met Nuxt](https://github.com/aymericzip/intlayer/blob/main/docs/docs/nl/intlayer_with_nuxt.md)**
|
|
195
194
|
- **[Intlayer met Vite + Svelte](https://github.com/aymericzip/intlayer/blob/main/docs/docs/nl/intlayer_with_vite+svelte.md)**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2024-03-07
|
|
3
|
-
updatedAt: 2026-09-
|
|
3
|
+
updatedAt: 2026-09-20
|
|
4
4
|
title: "Astro i18n - Kompletny przewodnik po tłumaczeniu swojej aplikacji"
|
|
5
5
|
description: "Koniec z i18next. Przewodnik 2026 do budowania wielojęzycznej (i18n) aplikacji Astro. Tłumacz z agentami AI i optymalizuj rozmiar bundle, SEO i wydajność."
|
|
6
6
|
keywords:
|
|
@@ -406,7 +406,7 @@ const pathWithoutLocale = getPathWithoutLocale(Astro.url.pathname);
|
|
|
406
406
|
```
|
|
407
407
|
|
|
408
408
|
> **Uwaga dotycząca trwałości:**
|
|
409
|
-
> `setLocale` z klienckiego `useLocale` zapisuje preferencje językowe użytkownika w pliku cookie.
|
|
409
|
+
> `setLocale` z klienckiego `useLocale` zapisuje preferencje językowe użytkownika w pliku cookie. Pozwala to Intlayer zapamiętać wybór i automatycznie przekierować użytkownika na preferowany język podczas kolejnych wizyt: strony renderowane na żądanie (adapter z `output: 'server'` lub `prerender = false`) są przekierowywane przez middleware Intlayer przed wysłaniem jakiegokolwiek kodu HTML, podczas gdy strony wstępnie wyrenderowane, serwowane jako pliki statyczne, są przekierowywane przez niewielki skrypt wstrzykiwany przez integrację na każdej stronie. Ustaw `routing.enableProxy` na `false`, aby wyłączyć oba mechanizmy. W środowisku `astro dev` plik cookie jest ignorowany jako źródło przekierowania, chyba że `routing.enableProxy` jest ustawione na `true`, dzięki czemu nieaktualny plik cookie nie przejmie stron, nad którymi pracujesz.
|
|
410
410
|
>
|
|
411
411
|
> **Wzajemna kompatybilność serwer / klient:**
|
|
412
412
|
> `astro-intlayer` prowadzi do swoich hooków serwerowych w nagłówku frontmatter (odczytując `Astro.locals`) oraz do hooków klienckich `vanilla-intlayer` w blokach `<script>` i wyspach (islands), z tymi samymi nazwami i strukturą zawartości. `setLocale` i `onChange` działają tylko na kliencie, wywołaj tam raz `installIntlayer()`, aby zainicjalizować magazyn klienta. `astro-intlayer/client` jawnie udostępnia punkt wejścia klienta.
|
|
@@ -433,10 +433,10 @@ const pathList: SitemapUrlEntry[] = [
|
|
|
433
433
|
{ path: "/about", changefreq: "monthly", priority: 0.7 },
|
|
434
434
|
];
|
|
435
435
|
|
|
436
|
-
const SITE_URL = import.meta.env.SITE ?? "http://localhost:4321";
|
|
437
|
-
|
|
438
436
|
export const GET: APIRoute = async ({ site }) => {
|
|
439
|
-
const xmlOutput = generateSitemap(pathList, {
|
|
437
|
+
const xmlOutput = generateSitemap(pathList, {
|
|
438
|
+
siteUrl: "https://example.com",
|
|
439
|
+
});
|
|
440
440
|
|
|
441
441
|
return new Response(xmlOutput, {
|
|
442
442
|
headers: { "Content-Type": "application/xml" },
|
|
@@ -483,7 +483,6 @@ Kontynuuj używanie swojej ulubionej frameworku do budowania aplikacji.
|
|
|
483
483
|
- Intlayer + Solid: [Intlayer with Solid](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pl/intlayer_with_astro_solid.md)
|
|
484
484
|
- Intlayer + Preact: [Intlayer with Preact](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pl/intlayer_with_astro_preact.md)
|
|
485
485
|
- Intlayer + Lit: [Intlayer with Lit](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pl/intlayer_with_astro_lit.md)
|
|
486
|
-
- Intlayer + Vanilla JS: [Intlayer with Vanilla JS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pl/intlayer_with_astro_vanilla.md)
|
|
487
486
|
</Step>
|
|
488
487
|
|
|
489
488
|
<Step number={15} title="Wyodrębnij treść swoich komponentów" isOptional={true}>
|
|
@@ -553,21 +552,7 @@ bun x intlayer extract
|
|
|
553
552
|
</Tab>
|
|
554
553
|
<Tab value='Babel compiler'>
|
|
555
554
|
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
Zaktualizuj `vite.config.ts` aby dodać plugin `intlayerCompiler`:
|
|
559
|
-
|
|
560
|
-
```ts fileName="vite.config.ts"
|
|
561
|
-
import { defineConfig } from "vite";
|
|
562
|
-
import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
563
|
-
|
|
564
|
-
export default defineConfig({
|
|
565
|
-
plugins: [
|
|
566
|
-
intlayer(),
|
|
567
|
-
intlayerCompiler(), // Adds the compiler plugin
|
|
568
|
-
],
|
|
569
|
-
});
|
|
570
|
-
```
|
|
555
|
+
Zbuduj aplikację, aby przekształcić komponenty i wyodrębnić treść
|
|
571
556
|
|
|
572
557
|
```bash packageManager="npm"
|
|
573
558
|
npm run build # Lub npm run dev
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2026-04-24
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-09-20
|
|
4
4
|
title: "Astro + Lit i18n - Kompletny przewodnik po tłumaczeniu swojej aplikacji"
|
|
5
5
|
description: "Koniec z i18next. Przewodnik 2026 do budowania wielojęzycznej (i18n) aplikacji Astro + Lit. Tłumacz z agentami AI i optymalizuj rozmiar bundle, SEO i wydajność."
|
|
6
6
|
keywords:
|
|
@@ -20,6 +20,9 @@ slugs:
|
|
|
20
20
|
applicationTemplate: https://github.com/aymericzip/intlayer-astro-template
|
|
21
21
|
applicationShowcase: https://intlayer-astro-template.vercel.app
|
|
22
22
|
history:
|
|
23
|
+
- version: 9.5.5
|
|
24
|
+
date: 2026-09-19
|
|
25
|
+
changes: "Użycie hooków useIntlayer / useLocale z astro-intlayer na stronie Astro"
|
|
23
26
|
- version: 8.9.0
|
|
24
27
|
date: 2026-05-04
|
|
25
28
|
changes: "Aktualizacja użycia API useIntlayer w Solid do bezpośredniego dostępu do właściwości"
|
|
@@ -151,7 +154,7 @@ bun add intlayer astro-intlayer lit lit-intlayer @astrojs/lit
|
|
|
151
154
|
Główny pakiet zapewniający narzędzia i18n do zarządzania konfiguracją, tłumaczeniami, [deklaracją treści](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pl/dictionary/content_file.md), transpilacją i [poleceniami CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pl/cli/index.md).
|
|
152
155
|
|
|
153
156
|
- **astro-intlayer**
|
|
154
|
-
|
|
157
|
+
Zawiera wtyczkę integracji z Astro do łączenia Intlayer z [bundlerem Vite](https://vite.dev/guide/why.html#why-bundle-for-production), middleware rozpoznające ustawienia regionalne każdego żądania w `Astro.locals.intlayer` oraz hooki `useIntlayer` / `useDictionary` / `useLocale`. Ta sama ścieżka importu prowadzi do implementacji serwerowej w nagłówku `.astro` oraz klienckiej (opartej na `vanilla-intlayer`) w blokach `<script>`.
|
|
155
158
|
|
|
156
159
|
- **lit**
|
|
157
160
|
Podstawowe pakiety Lit do budowania szybkich, lekkich komponentów Web Components.
|
|
@@ -246,19 +249,21 @@ export default litDemoContent;
|
|
|
246
249
|
</Step>
|
|
247
250
|
<Step number={5} title="Korzystanie z treści w Astro">
|
|
248
251
|
|
|
249
|
-
|
|
252
|
+
Używaj słowników w plikach `.astro` za pomocą hooków wyeksportowanych przez `astro-intlayer`. Dzielą one sygnatury z `react-intlayer`: `useIntlayer("key")` zwraca zawartość słownika, a `useLocale()` bieżące ustawienia regionalne, bez konieczności przekazywania argumentów.
|
|
253
|
+
|
|
254
|
+
Ustawienia regionalne pochodzą z middleware `astro-intlayer`, które integracja rejestruje przed Twoim własnym `src/middleware.ts`. Rozpoznaje je dla każdego żądania, na podstawie prefiksu URL, następnie ustawień regionalnych zapisanych przez klienta (cookie lub nagłówek), a potem `Accept-Language`, i zapisuje w `Astro.locals.intlayer`. Wstępnie renderowane strony używają tylko URL, ponieważ są renderowane raz dla każdego odwiedzającego.
|
|
255
|
+
|
|
256
|
+
Elementy niestandardowe Lit są importowane za pomocą bloku `<script>` po stronie klienta i umieszczane w body.
|
|
250
257
|
|
|
251
258
|
```astro fileName="src/pages/[...locale]/index.astro"
|
|
252
259
|
---
|
|
260
|
+
import { useIntlayer, useLocale } from "astro-intlayer";
|
|
253
261
|
import {
|
|
254
|
-
getIntlayer,
|
|
255
|
-
getLocaleFromPath,
|
|
256
262
|
getLocalizedUrl,
|
|
257
|
-
getHTMLTextDir,
|
|
258
263
|
getPrefix,
|
|
259
264
|
localeMap,
|
|
260
265
|
defaultLocale,
|
|
261
|
-
|
|
266
|
+
getHTMLTextDir,
|
|
262
267
|
} from "intlayer";
|
|
263
268
|
|
|
264
269
|
export const getStaticPaths = () => {
|
|
@@ -267,8 +272,11 @@ export const getStaticPaths = () => {
|
|
|
267
272
|
}));
|
|
268
273
|
};
|
|
269
274
|
|
|
270
|
-
|
|
271
|
-
const {
|
|
275
|
+
// Ustawienia regionalne rozpoznane przez middleware (np. /pl/about -> 'pl')
|
|
276
|
+
const { locale } = useLocale();
|
|
277
|
+
|
|
278
|
+
// Zawartość słownika 'lit-demo' dla tych ustawień regionalnych
|
|
279
|
+
const { greeting } = useIntlayer("lit-demo");
|
|
272
280
|
---
|
|
273
281
|
|
|
274
282
|
<!doctype html>
|
|
@@ -327,6 +335,8 @@ const { greeting } = getIntlayer("lit-demo", locale);
|
|
|
327
335
|
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
328
336
|
> ```
|
|
329
337
|
|
|
338
|
+
> `Astro.locals.intlayer` udostępnia również `locale`, `defaultLocale` i `availableLocales` dla Twoich własnych middleware i endpointów. Przekaż ustawienia regionalne lub selektor jako drugi argument (`useIntlayer("app", "fr")`, `useIntlayer("faq", { item: 2 })`), aby nadpisać ustawienia regionalne żądania dla jednego wywołania.
|
|
339
|
+
|
|
330
340
|
> **Uwaga na temat konfiguracji routingu:**
|
|
331
341
|
> Używana przez Ciebie struktura katalogów zależy od ustawienia `middleware.routing` w `intlayer.config.ts`:
|
|
332
342
|
>
|
|
@@ -483,10 +493,10 @@ const pathList: SitemapUrlEntry[] = [
|
|
|
483
493
|
{ path: "/about", changefreq: "monthly", priority: 0.7 },
|
|
484
494
|
];
|
|
485
495
|
|
|
486
|
-
const SITE_URL = import.meta.env.SITE ?? "http://localhost:4321";
|
|
487
|
-
|
|
488
496
|
export const GET: APIRoute = async ({ site }) => {
|
|
489
|
-
const xmlOutput = generateSitemap(pathList, {
|
|
497
|
+
const xmlOutput = generateSitemap(pathList, {
|
|
498
|
+
siteUrl: "https://example.com",
|
|
499
|
+
});
|
|
490
500
|
|
|
491
501
|
return new Response(xmlOutput, {
|
|
492
502
|
headers: { "Content-Type": "application/xml" },
|
|
@@ -586,21 +596,7 @@ bun x intlayer extract
|
|
|
586
596
|
</Tab>
|
|
587
597
|
<Tab value='Kompilator Babel'>
|
|
588
598
|
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
592
|
-
|
|
593
|
-
```ts fileName="vite.config.ts"
|
|
594
|
-
import { defineConfig } from "vite";
|
|
595
|
-
import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
596
|
-
|
|
597
|
-
export default defineConfig({
|
|
598
|
-
plugins: [
|
|
599
|
-
intlayer(),
|
|
600
|
-
intlayerCompiler(), // Adds the compiler plugin
|
|
601
|
-
],
|
|
602
|
-
});
|
|
603
|
-
```
|
|
599
|
+
Zbuduj aplikację, aby przekształcić komponenty i wyodrębnić treść
|
|
604
600
|
|
|
605
601
|
```bash packageManager="npm"
|
|
606
602
|
npm run build # Lub npm run dev
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2026-04-24
|
|
3
|
-
updatedAt: 2026-
|
|
3
|
+
updatedAt: 2026-09-20
|
|
4
4
|
title: "Astro + Preact i18n - Kompletny przewodnik po tłumaczeniu swojej aplikacji"
|
|
5
5
|
description: "Koniec z i18next. Przewodnik 2026 do budowania wielojęzycznej (i18n) aplikacji Astro + Preact. Tłumacz z agentami AI i optymalizuj rozmiar bundle, SEO i wydajność."
|
|
6
6
|
keywords:
|
|
@@ -19,6 +19,9 @@ slugs:
|
|
|
19
19
|
applicationTemplate: https://github.com/aymericzip/intlayer-astro-template
|
|
20
20
|
applicationShowcase: https://intlayer-astro-template.vercel.app
|
|
21
21
|
history:
|
|
22
|
+
- version: 9.5.5
|
|
23
|
+
date: 2026-09-19
|
|
24
|
+
changes: "Użycie hooków useIntlayer / useLocale z astro-intlayer na stronie Astro"
|
|
22
25
|
- version: 8.9.0
|
|
23
26
|
date: 2026-05-04
|
|
24
27
|
changes: "Aktualizacja użycia API useIntlayer w Solid do bezpośredniego dostępu do właściwości"
|
|
@@ -150,7 +153,7 @@ bun add intlayer astro-intlayer react react-dom react-intlayer @astrojs/react
|
|
|
150
153
|
Główny pakiet zapewniający narzędzia i18n do zarządzania konfiguracją, tłumaczeniami, [deklaracją treści](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pl/dictionary/content_file.md), transpilacją i [poleceniami CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pl/cli/index.md).
|
|
151
154
|
|
|
152
155
|
- **astro-intlayer**
|
|
153
|
-
|
|
156
|
+
Zawiera wtyczkę integracji z Astro do łączenia Intlayer z [bundlerem Vite](https://vite.dev/guide/why.html#why-bundle-for-production), middleware rozpoznające ustawienia regionalne każdego żądania w `Astro.locals.intlayer` oraz hooki `useIntlayer` / `useDictionary` / `useLocale`. Ta sama ścieżka importu prowadzi do implementacji serwerowej w nagłówku `.astro` oraz klienckiej (opartej na `vanilla-intlayer`) w blokach `<script>`.
|
|
154
157
|
|
|
155
158
|
- **preact**
|
|
156
159
|
Podstawowe pakiety Preact - szybka i lekka alternatywa dla Reacta.
|
|
@@ -243,19 +246,21 @@ export default appContent;
|
|
|
243
246
|
</Step>
|
|
244
247
|
<Step number={5} title="Korzystanie z treści w Astro">
|
|
245
248
|
|
|
246
|
-
|
|
249
|
+
Używaj słowników w plikach `.astro` za pomocą hooków wyeksportowanych przez `astro-intlayer`. Dzielą one sygnatury z `react-intlayer`: `useIntlayer("key")` zwraca zawartość słownika, a `useLocale()` bieżące ustawienia regionalne, bez konieczności przekazywania argumentów.
|
|
250
|
+
|
|
251
|
+
Ustawienia regionalne pochodzą z middleware `astro-intlayer`, które integracja rejestruje przed Twoim własnym `src/middleware.ts`. Rozpoznaje je dla każdego żądania, na podstawie prefiksu URL, następnie ustawień regionalnych zapisanych przez klienta (cookie lub nagłówek), a potem `Accept-Language`, i zapisuje w `Astro.locals.intlayer`. Wstępnie renderowane strony używają tylko URL, ponieważ są renderowane raz dla każdego odwiedzającego.
|
|
252
|
+
|
|
253
|
+
Powinieneś również dodać metadane SEO (takie jak linki hreflang i kanoniczne) na każdej stronie oraz wprowadzić island Preact dla interaktywnej treści po stronie klienta.
|
|
247
254
|
|
|
248
255
|
```astro fileName="src/pages/[...locale]/index.astro"
|
|
249
256
|
---
|
|
257
|
+
import { useIntlayer, useLocale } from "astro-intlayer";
|
|
250
258
|
import {
|
|
251
|
-
getIntlayer,
|
|
252
|
-
getLocaleFromPath,
|
|
253
259
|
getLocalizedUrl,
|
|
254
|
-
getHTMLTextDir,
|
|
255
260
|
getPrefix,
|
|
256
261
|
localeMap,
|
|
257
262
|
defaultLocale,
|
|
258
|
-
|
|
263
|
+
getHTMLTextDir,
|
|
259
264
|
} from "intlayer";
|
|
260
265
|
import { PreactIsland } from "../../components/preact/ReactIsland";
|
|
261
266
|
|
|
@@ -265,8 +270,11 @@ export const getStaticPaths = () => {
|
|
|
265
270
|
}));
|
|
266
271
|
};
|
|
267
272
|
|
|
268
|
-
|
|
269
|
-
const {
|
|
273
|
+
// Ustawienia regionalne rozpoznane przez middleware (np. /pl/about -> 'pl')
|
|
274
|
+
const { locale } = useLocale();
|
|
275
|
+
|
|
276
|
+
// Zawartość słownika 'app' dla tych ustawień regionalnych
|
|
277
|
+
const { title } = useIntlayer("app");
|
|
270
278
|
---
|
|
271
279
|
|
|
272
280
|
<!doctype html>
|
|
@@ -322,6 +330,8 @@ const { title } = getIntlayer("app", locale);
|
|
|
322
330
|
> <img src={String(content.image.src)} alt={String(content.image)} />
|
|
323
331
|
> ```
|
|
324
332
|
|
|
333
|
+
> `Astro.locals.intlayer` udostępnia również `locale`, `defaultLocale` i `availableLocales` dla Twoich własnych middleware i endpointów. Przekaż ustawienia regionalne lub selektor jako drugi argument (`useIntlayer("app", "fr")`, `useIntlayer("faq", { item: 2 })`), aby nadpisać ustawienia regionalne żądania dla jednego wywołania.
|
|
334
|
+
|
|
325
335
|
> **Uwaga na temat konfiguracji routingu:**
|
|
326
336
|
> Używana przez Ciebie struktura katalogów zależy od ustawienia `middleware.routing` w `intlayer.config.ts`:
|
|
327
337
|
>
|
|
@@ -438,10 +448,10 @@ const pathList: SitemapUrlEntry[] = [
|
|
|
438
448
|
{ path: "/about", changefreq: "monthly", priority: 0.7 },
|
|
439
449
|
];
|
|
440
450
|
|
|
441
|
-
const SITE_URL = import.meta.env.SITE ?? "http://localhost:4321";
|
|
442
|
-
|
|
443
451
|
export const GET: APIRoute = async ({ site }) => {
|
|
444
|
-
const xmlOutput = generateSitemap(pathList, {
|
|
452
|
+
const xmlOutput = generateSitemap(pathList, {
|
|
453
|
+
siteUrl: "https://example.com",
|
|
454
|
+
});
|
|
445
455
|
|
|
446
456
|
return new Response(xmlOutput, {
|
|
447
457
|
headers: { "Content-Type": "application/xml" },
|
|
@@ -541,21 +551,7 @@ bun x intlayer extract
|
|
|
541
551
|
</Tab>
|
|
542
552
|
<Tab value='Kompilator Babel'>
|
|
543
553
|
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
547
|
-
|
|
548
|
-
```ts fileName="vite.config.ts"
|
|
549
|
-
import { defineConfig } from "vite";
|
|
550
|
-
import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
551
|
-
|
|
552
|
-
export default defineConfig({
|
|
553
|
-
plugins: [
|
|
554
|
-
intlayer(),
|
|
555
|
-
intlayerCompiler(), // Adds the compiler plugin
|
|
556
|
-
],
|
|
557
|
-
});
|
|
558
|
-
```
|
|
554
|
+
Zbuduj aplikację, aby przekształcić komponenty i wyodrębnić treść
|
|
559
555
|
|
|
560
556
|
```bash packageManager="npm"
|
|
561
557
|
npm run build # Lub npm run dev
|