@intlayer/docs 9.0.0-canary.6 → 9.0.0-canary.7
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/dist/cjs/generated/docs.entry.cjs +80 -0
- package/dist/cjs/generated/docs.entry.cjs.map +1 -1
- package/dist/esm/generated/docs.entry.mjs +80 -0
- package/dist/esm/generated/docs.entry.mjs.map +1 -1
- package/dist/types/generated/docs.entry.d.ts +4 -0
- package/dist/types/generated/docs.entry.d.ts.map +1 -1
- package/docs/ar/compiler.md +6 -3
- package/docs/ar/custom_domains.md +8 -2
- package/docs/ar/custom_url_rewrites.md +8 -2
- package/docs/ar/intlayer_with_analog.md +5 -1
- package/docs/ar/intlayer_with_astro.md +2 -0
- package/docs/ar/intlayer_with_astro_lit.md +2 -0
- package/docs/ar/intlayer_with_astro_preact.md +2 -0
- package/docs/ar/intlayer_with_astro_react.md +2 -0
- package/docs/ar/intlayer_with_astro_solid.md +2 -0
- package/docs/ar/intlayer_with_astro_svelte.md +2 -0
- package/docs/ar/intlayer_with_astro_vanilla.md +2 -0
- package/docs/ar/intlayer_with_astro_vue.md +2 -0
- package/docs/ar/intlayer_with_lynx+react.md +6 -1
- package/docs/ar/intlayer_with_nextjs_16.md +2 -0
- package/docs/ar/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/ar/intlayer_with_react_native+expo.md +6 -1
- package/docs/ar/intlayer_with_react_router_v7.md +3 -1
- package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/ar/intlayer_with_storybook.md +7 -1
- package/docs/ar/intlayer_with_svelte_kit.md +8 -3
- package/docs/ar/intlayer_with_tanstack+solid.md +18 -11
- package/docs/ar/intlayer_with_tanstack.md +16 -7
- package/docs/ar/intlayer_with_vite+lit.md +8 -2
- package/docs/ar/intlayer_with_vite+preact.md +2 -0
- package/docs/ar/intlayer_with_vite+react.md +8 -3
- package/docs/ar/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/ar/intlayer_with_vite+solid.md +2 -0
- package/docs/ar/intlayer_with_vite+svelte.md +4 -2
- package/docs/ar/intlayer_with_vite+vanilla.md +16 -5
- package/docs/ar/intlayer_with_vite+vue.md +8 -3
- package/docs/ar/packages/@intlayer_babel/export.md +131 -0
- package/docs/ar/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ar/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ar/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ar/releases/v9.md +45 -1
- package/docs/bn/custom_domains.md +8 -2
- package/docs/bn/intlayer_with_storybook.md +7 -1
- package/docs/bn/intlayer_with_vite+lit.md +8 -2
- package/docs/bn/intlayer_with_vite+vanilla.md +16 -5
- package/docs/cs/custom_domains.md +8 -2
- package/docs/cs/intlayer_with_storybook.md +7 -1
- package/docs/cs/intlayer_with_vite+lit.md +8 -2
- package/docs/cs/intlayer_with_vite+vanilla.md +16 -5
- package/docs/de/compiler.md +6 -3
- package/docs/de/custom_domains.md +8 -2
- package/docs/de/custom_url_rewrites.md +8 -2
- package/docs/de/intlayer_with_analog.md +5 -1
- package/docs/de/intlayer_with_astro.md +3 -1
- package/docs/de/intlayer_with_astro_lit.md +3 -1
- package/docs/de/intlayer_with_astro_preact.md +3 -1
- package/docs/de/intlayer_with_astro_react.md +3 -1
- package/docs/de/intlayer_with_astro_solid.md +3 -1
- package/docs/de/intlayer_with_astro_svelte.md +3 -1
- package/docs/de/intlayer_with_astro_vanilla.md +3 -1
- package/docs/de/intlayer_with_astro_vue.md +3 -1
- package/docs/de/intlayer_with_lynx+react.md +6 -1
- package/docs/de/intlayer_with_nextjs_16.md +2 -0
- package/docs/de/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/de/intlayer_with_react_native+expo.md +6 -1
- package/docs/de/intlayer_with_react_router_v7.md +3 -1
- package/docs/de/intlayer_with_react_router_v7_fs_routes.md +8 -3
- package/docs/de/intlayer_with_storybook.md +7 -1
- package/docs/de/intlayer_with_svelte_kit.md +9 -4
- package/docs/de/intlayer_with_tanstack+solid.md +18 -11
- package/docs/de/intlayer_with_tanstack.md +17 -8
- package/docs/de/intlayer_with_vite+lit.md +13 -4
- package/docs/de/intlayer_with_vite+preact.md +3 -1
- package/docs/de/intlayer_with_vite+react.md +9 -4
- package/docs/de/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/de/intlayer_with_vite+solid.md +3 -1
- package/docs/de/intlayer_with_vite+svelte.md +9 -4
- package/docs/de/intlayer_with_vite+vanilla.md +16 -5
- package/docs/de/intlayer_with_vite+vue.md +9 -4
- package/docs/de/packages/@intlayer_babel/export.md +131 -0
- package/docs/de/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/de/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/de/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/de/releases/v9.md +23 -1
- package/docs/en/compiler.md +5 -1
- package/docs/en/custom_domains.md +8 -2
- package/docs/en/custom_url_rewrites.md +8 -2
- package/docs/en/intlayer_with_analog.md +5 -1
- package/docs/en/intlayer_with_astro.md +2 -2
- package/docs/en/intlayer_with_astro_lit.md +2 -2
- package/docs/en/intlayer_with_astro_preact.md +2 -2
- package/docs/en/intlayer_with_astro_react.md +2 -2
- package/docs/en/intlayer_with_astro_solid.md +2 -2
- package/docs/en/intlayer_with_astro_svelte.md +2 -2
- package/docs/en/intlayer_with_astro_vanilla.md +2 -2
- package/docs/en/intlayer_with_astro_vue.md +2 -2
- package/docs/en/intlayer_with_lynx+react.md +6 -1
- package/docs/en/intlayer_with_nextjs_16.md +2 -0
- package/docs/en/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/en/intlayer_with_react_native+expo.md +6 -1
- package/docs/en/intlayer_with_react_router_v7.md +8 -3
- package/docs/en/intlayer_with_react_router_v7_fs_routes.md +8 -3
- package/docs/en/intlayer_with_storybook.md +7 -1
- package/docs/en/intlayer_with_svelte_kit.md +8 -5
- package/docs/en/intlayer_with_tanstack+solid.md +18 -9
- package/docs/en/intlayer_with_tanstack.md +16 -7
- package/docs/en/intlayer_with_vite+lit.md +13 -4
- package/docs/en/intlayer_with_vite+preact.md +8 -3
- package/docs/en/intlayer_with_vite+react.md +8 -3
- package/docs/en/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/en/intlayer_with_vite+solid.md +8 -3
- package/docs/en/intlayer_with_vite+svelte.md +8 -3
- package/docs/en/intlayer_with_vite+vanilla.md +15 -6
- package/docs/en/intlayer_with_vite+vue.md +8 -3
- package/docs/en/packages/@intlayer_babel/export.md +131 -0
- package/docs/en/packages/vite-intlayer/exports.md +38 -13
- package/docs/en/packages/vite-intlayer/intlayer.md +133 -14
- package/docs/en/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/en/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/en/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/en/packages/vite-intlayer/intlayerPrune.md +90 -12
- package/docs/en/releases/v9.md +25 -1
- package/docs/en-GB/compiler.md +6 -3
- package/docs/en-GB/custom_domains.md +8 -2
- package/docs/en-GB/custom_url_rewrites.md +8 -2
- package/docs/en-GB/intlayer_with_analog.md +5 -1
- package/docs/en-GB/intlayer_with_astro.md +2 -0
- package/docs/en-GB/intlayer_with_astro_lit.md +2 -0
- package/docs/en-GB/intlayer_with_astro_preact.md +2 -0
- package/docs/en-GB/intlayer_with_astro_react.md +2 -0
- package/docs/en-GB/intlayer_with_astro_solid.md +2 -0
- package/docs/en-GB/intlayer_with_astro_svelte.md +2 -0
- package/docs/en-GB/intlayer_with_astro_vanilla.md +2 -0
- package/docs/en-GB/intlayer_with_astro_vue.md +2 -0
- package/docs/en-GB/intlayer_with_lynx+react.md +6 -1
- package/docs/en-GB/intlayer_with_react_native+expo.md +6 -1
- package/docs/en-GB/intlayer_with_react_router_v7.md +6 -3
- package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +6 -3
- package/docs/en-GB/intlayer_with_storybook.md +7 -1
- package/docs/en-GB/intlayer_with_svelte_kit.md +6 -3
- package/docs/en-GB/intlayer_with_tanstack+solid.md +18 -11
- package/docs/en-GB/intlayer_with_tanstack.md +14 -7
- package/docs/en-GB/intlayer_with_vite+lit.md +13 -4
- package/docs/en-GB/intlayer_with_vite+react.md +6 -3
- package/docs/en-GB/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/en-GB/intlayer_with_vite+svelte.md +6 -3
- package/docs/en-GB/intlayer_with_vite+vanilla.md +15 -4
- package/docs/en-GB/intlayer_with_vite+vue.md +6 -3
- package/docs/en-GB/packages/@intlayer_babel/export.md +131 -0
- package/docs/en-GB/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/en-GB/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/en-GB/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/en-GB/releases/v9.md +23 -1
- package/docs/es/compiler.md +6 -3
- package/docs/es/custom_domains.md +8 -2
- package/docs/es/custom_url_rewrites.md +8 -2
- package/docs/es/intlayer_with_analog.md +5 -1
- package/docs/es/intlayer_with_astro.md +3 -1
- package/docs/es/intlayer_with_astro_lit.md +3 -1
- package/docs/es/intlayer_with_astro_preact.md +3 -1
- package/docs/es/intlayer_with_astro_react.md +3 -1
- package/docs/es/intlayer_with_astro_solid.md +3 -1
- package/docs/es/intlayer_with_astro_svelte.md +3 -1
- package/docs/es/intlayer_with_astro_vanilla.md +3 -1
- package/docs/es/intlayer_with_astro_vue.md +3 -1
- package/docs/es/intlayer_with_lynx+react.md +6 -1
- package/docs/es/intlayer_with_nextjs_16.md +2 -0
- package/docs/es/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/es/intlayer_with_react_native+expo.md +6 -1
- package/docs/es/intlayer_with_react_router_v7.md +3 -1
- package/docs/es/intlayer_with_react_router_v7_fs_routes.md +9 -4
- package/docs/es/intlayer_with_storybook.md +7 -1
- package/docs/es/intlayer_with_svelte_kit.md +9 -4
- package/docs/es/intlayer_with_tanstack+solid.md +18 -11
- package/docs/es/intlayer_with_tanstack.md +17 -8
- package/docs/es/intlayer_with_vite+lit.md +13 -4
- package/docs/es/intlayer_with_vite+preact.md +3 -1
- package/docs/es/intlayer_with_vite+react.md +9 -4
- package/docs/es/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/es/intlayer_with_vite+solid.md +3 -1
- package/docs/es/intlayer_with_vite+svelte.md +4 -2
- package/docs/es/intlayer_with_vite+vanilla.md +16 -5
- package/docs/es/intlayer_with_vite+vue.md +9 -4
- package/docs/es/packages/@intlayer_babel/export.md +131 -0
- package/docs/es/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/es/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/es/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/es/releases/v9.md +23 -1
- package/docs/fr/compiler.md +6 -3
- package/docs/fr/custom_domains.md +8 -2
- package/docs/fr/custom_url_rewrites.md +8 -2
- package/docs/fr/intlayer_with_analog.md +5 -1
- package/docs/fr/intlayer_with_astro.md +3 -1
- package/docs/fr/intlayer_with_astro_lit.md +3 -1
- package/docs/fr/intlayer_with_astro_preact.md +3 -1
- package/docs/fr/intlayer_with_astro_react.md +3 -1
- package/docs/fr/intlayer_with_astro_solid.md +3 -1
- package/docs/fr/intlayer_with_astro_svelte.md +3 -1
- package/docs/fr/intlayer_with_astro_vanilla.md +3 -1
- package/docs/fr/intlayer_with_astro_vue.md +3 -1
- package/docs/fr/intlayer_with_lynx+react.md +6 -1
- package/docs/fr/intlayer_with_nextjs_16.md +2 -0
- package/docs/fr/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/fr/intlayer_with_react_native+expo.md +6 -1
- package/docs/fr/intlayer_with_react_router_v7.md +3 -1
- package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/fr/intlayer_with_storybook.md +7 -1
- package/docs/fr/intlayer_with_svelte_kit.md +9 -4
- package/docs/fr/intlayer_with_tanstack+solid.md +18 -11
- package/docs/fr/intlayer_with_tanstack.md +17 -8
- package/docs/fr/intlayer_with_vite+lit.md +13 -4
- package/docs/fr/intlayer_with_vite+preact.md +3 -1
- package/docs/fr/intlayer_with_vite+react.md +9 -4
- package/docs/fr/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/fr/intlayer_with_vite+solid.md +3 -1
- package/docs/fr/intlayer_with_vite+svelte.md +9 -4
- package/docs/fr/intlayer_with_vite+vanilla.md +16 -5
- package/docs/fr/intlayer_with_vite+vue.md +9 -4
- package/docs/fr/packages/@intlayer_babel/export.md +131 -0
- package/docs/fr/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/fr/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/fr/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/fr/releases/v9.md +23 -1
- package/docs/hi/compiler.md +6 -3
- package/docs/hi/custom_domains.md +8 -2
- package/docs/hi/custom_url_rewrites.md +8 -2
- package/docs/hi/intlayer_with_analog.md +5 -1
- package/docs/hi/intlayer_with_astro.md +6 -3
- package/docs/hi/intlayer_with_astro_lit.md +6 -3
- package/docs/hi/intlayer_with_astro_preact.md +6 -3
- package/docs/hi/intlayer_with_astro_react.md +6 -3
- package/docs/hi/intlayer_with_astro_solid.md +6 -3
- package/docs/hi/intlayer_with_astro_svelte.md +6 -3
- package/docs/hi/intlayer_with_astro_vanilla.md +6 -3
- package/docs/hi/intlayer_with_astro_vue.md +6 -3
- package/docs/hi/intlayer_with_lynx+react.md +6 -1
- package/docs/hi/intlayer_with_react_native+expo.md +6 -1
- package/docs/hi/intlayer_with_react_router_v7.md +6 -3
- package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +6 -3
- package/docs/hi/intlayer_with_storybook.md +7 -1
- package/docs/hi/intlayer_with_svelte_kit.md +12 -6
- package/docs/hi/intlayer_with_tanstack+solid.md +18 -11
- package/docs/hi/intlayer_with_tanstack.md +20 -10
- package/docs/hi/intlayer_with_vite+lit.md +8 -2
- package/docs/hi/intlayer_with_vite+preact.md +6 -3
- package/docs/hi/intlayer_with_vite+react.md +12 -6
- package/docs/hi/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/hi/intlayer_with_vite+solid.md +6 -3
- package/docs/hi/intlayer_with_vite+svelte.md +7 -4
- package/docs/hi/intlayer_with_vite+vanilla.md +16 -5
- package/docs/hi/intlayer_with_vite+vue.md +12 -6
- package/docs/hi/packages/@intlayer_babel/export.md +131 -0
- package/docs/hi/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/hi/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/hi/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/hi/releases/v9.md +23 -1
- package/docs/id/compiler.md +6 -3
- package/docs/id/custom_domains.md +8 -2
- package/docs/id/custom_url_rewrites.md +8 -2
- package/docs/id/intlayer_with_analog.md +5 -1
- package/docs/id/intlayer_with_astro.md +3 -1
- package/docs/id/intlayer_with_astro_lit.md +3 -1
- package/docs/id/intlayer_with_astro_preact.md +3 -1
- package/docs/id/intlayer_with_astro_react.md +3 -1
- package/docs/id/intlayer_with_astro_solid.md +3 -1
- package/docs/id/intlayer_with_astro_svelte.md +3 -1
- package/docs/id/intlayer_with_astro_vanilla.md +3 -1
- package/docs/id/intlayer_with_astro_vue.md +3 -1
- package/docs/id/intlayer_with_lynx+react.md +6 -1
- package/docs/id/intlayer_with_nextjs_16.md +2 -0
- package/docs/id/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/id/intlayer_with_react_native+expo.md +6 -1
- package/docs/id/intlayer_with_react_router_v7.md +3 -1
- package/docs/id/intlayer_with_react_router_v7_fs_routes.md +9 -4
- package/docs/id/intlayer_with_storybook.md +7 -1
- package/docs/id/intlayer_with_svelte_kit.md +9 -4
- package/docs/id/intlayer_with_tanstack+solid.md +18 -11
- package/docs/id/intlayer_with_tanstack.md +17 -8
- package/docs/id/intlayer_with_vite+lit.md +8 -2
- package/docs/id/intlayer_with_vite+preact.md +3 -1
- package/docs/id/intlayer_with_vite+react.md +9 -4
- package/docs/id/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/id/intlayer_with_vite+solid.md +3 -1
- package/docs/id/intlayer_with_vite+svelte.md +5 -3
- package/docs/id/intlayer_with_vite+vanilla.md +16 -5
- package/docs/id/intlayer_with_vite+vue.md +9 -4
- package/docs/id/packages/@intlayer_babel/export.md +131 -0
- package/docs/id/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/id/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/id/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/id/releases/v9.md +23 -1
- package/docs/it/compiler.md +6 -3
- package/docs/it/custom_domains.md +8 -2
- package/docs/it/custom_url_rewrites.md +8 -2
- package/docs/it/intlayer_with_analog.md +5 -1
- package/docs/it/intlayer_with_astro.md +3 -1
- package/docs/it/intlayer_with_astro_lit.md +3 -1
- package/docs/it/intlayer_with_astro_preact.md +3 -1
- package/docs/it/intlayer_with_astro_react.md +3 -1
- package/docs/it/intlayer_with_astro_solid.md +3 -1
- package/docs/it/intlayer_with_astro_svelte.md +3 -1
- package/docs/it/intlayer_with_astro_vanilla.md +3 -1
- package/docs/it/intlayer_with_astro_vue.md +3 -1
- package/docs/it/intlayer_with_lynx+react.md +6 -1
- package/docs/it/intlayer_with_nextjs_16.md +2 -0
- package/docs/it/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/it/intlayer_with_react_native+expo.md +6 -1
- package/docs/it/intlayer_with_react_router_v7.md +3 -1
- package/docs/it/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/it/intlayer_with_storybook.md +7 -1
- package/docs/it/intlayer_with_svelte_kit.md +9 -4
- package/docs/it/intlayer_with_tanstack+solid.md +18 -11
- package/docs/it/intlayer_with_tanstack.md +17 -8
- package/docs/it/intlayer_with_vite+lit.md +13 -4
- package/docs/it/intlayer_with_vite+preact.md +3 -1
- package/docs/it/intlayer_with_vite+react.md +9 -4
- package/docs/it/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/it/intlayer_with_vite+solid.md +3 -1
- package/docs/it/intlayer_with_vite+svelte.md +4 -2
- package/docs/it/intlayer_with_vite+vanilla.md +16 -5
- package/docs/it/intlayer_with_vite+vue.md +9 -4
- package/docs/it/packages/@intlayer_babel/export.md +131 -0
- package/docs/it/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/it/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/it/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/it/releases/v9.md +23 -1
- package/docs/ja/compiler.md +6 -3
- package/docs/ja/custom_domains.md +8 -2
- package/docs/ja/custom_url_rewrites.md +8 -2
- package/docs/ja/intlayer_with_analog.md +5 -1
- package/docs/ja/intlayer_with_astro.md +2 -0
- package/docs/ja/intlayer_with_astro_lit.md +2 -0
- package/docs/ja/intlayer_with_astro_preact.md +2 -0
- package/docs/ja/intlayer_with_astro_react.md +2 -0
- package/docs/ja/intlayer_with_astro_solid.md +2 -0
- package/docs/ja/intlayer_with_astro_svelte.md +2 -0
- package/docs/ja/intlayer_with_astro_vanilla.md +2 -0
- package/docs/ja/intlayer_with_astro_vue.md +2 -0
- package/docs/ja/intlayer_with_lynx+react.md +6 -1
- package/docs/ja/intlayer_with_nextjs_16.md +2 -0
- package/docs/ja/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/ja/intlayer_with_react_native+expo.md +6 -1
- package/docs/ja/intlayer_with_react_router_v7.md +8 -3
- package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/ja/intlayer_with_storybook.md +7 -1
- package/docs/ja/intlayer_with_svelte_kit.md +2 -0
- package/docs/ja/intlayer_with_tanstack+solid.md +18 -11
- package/docs/ja/intlayer_with_tanstack.md +18 -11
- package/docs/ja/intlayer_with_vite+lit.md +13 -4
- package/docs/ja/intlayer_with_vite+preact.md +8 -3
- package/docs/ja/intlayer_with_vite+react.md +3 -1
- package/docs/ja/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/ja/intlayer_with_vite+solid.md +3 -1
- package/docs/ja/intlayer_with_vite+svelte.md +5 -3
- package/docs/ja/intlayer_with_vite+vanilla.md +16 -5
- package/docs/ja/intlayer_with_vite+vue.md +9 -4
- package/docs/ja/packages/@intlayer_babel/export.md +131 -0
- package/docs/ja/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ja/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ja/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ja/releases/v9.md +23 -1
- package/docs/ko/compiler.md +6 -3
- package/docs/ko/custom_domains.md +8 -2
- package/docs/ko/custom_url_rewrites.md +8 -2
- package/docs/ko/intlayer_with_analog.md +5 -1
- package/docs/ko/intlayer_with_astro.md +3 -1
- package/docs/ko/intlayer_with_astro_lit.md +3 -1
- package/docs/ko/intlayer_with_astro_preact.md +3 -1
- package/docs/ko/intlayer_with_astro_react.md +3 -1
- package/docs/ko/intlayer_with_astro_solid.md +3 -1
- package/docs/ko/intlayer_with_astro_svelte.md +3 -1
- package/docs/ko/intlayer_with_astro_vanilla.md +3 -1
- package/docs/ko/intlayer_with_astro_vue.md +3 -1
- package/docs/ko/intlayer_with_lynx+react.md +6 -1
- package/docs/ko/intlayer_with_nextjs_16.md +2 -0
- package/docs/ko/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/ko/intlayer_with_react_native+expo.md +6 -1
- package/docs/ko/intlayer_with_react_router_v7.md +3 -1
- package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/ko/intlayer_with_storybook.md +7 -1
- package/docs/ko/intlayer_with_svelte_kit.md +9 -4
- package/docs/ko/intlayer_with_tanstack+solid.md +18 -11
- package/docs/ko/intlayer_with_tanstack.md +17 -8
- package/docs/ko/intlayer_with_vite+lit.md +13 -4
- package/docs/ko/intlayer_with_vite+preact.md +3 -1
- package/docs/ko/intlayer_with_vite+react.md +3 -1
- package/docs/ko/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/ko/intlayer_with_vite+svelte.md +5 -3
- package/docs/ko/intlayer_with_vite+vanilla.md +16 -5
- package/docs/ko/intlayer_with_vite+vue.md +9 -4
- package/docs/ko/packages/@intlayer_babel/export.md +131 -0
- package/docs/ko/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ko/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ko/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ko/releases/v9.md +23 -1
- package/docs/nl/custom_domains.md +8 -2
- package/docs/nl/intlayer_with_storybook.md +7 -1
- package/docs/nl/intlayer_with_vite+lit.md +8 -2
- package/docs/nl/intlayer_with_vite+vanilla.md +16 -5
- package/docs/pl/compiler.md +6 -3
- package/docs/pl/custom_domains.md +8 -2
- package/docs/pl/custom_url_rewrites.md +8 -2
- package/docs/pl/intlayer_with_analog.md +5 -1
- package/docs/pl/intlayer_with_astro.md +6 -4
- package/docs/pl/intlayer_with_astro_lit.md +3 -1
- package/docs/pl/intlayer_with_astro_preact.md +3 -1
- package/docs/pl/intlayer_with_astro_react.md +3 -1
- package/docs/pl/intlayer_with_astro_solid.md +3 -1
- package/docs/pl/intlayer_with_astro_svelte.md +3 -1
- package/docs/pl/intlayer_with_astro_vanilla.md +3 -1
- package/docs/pl/intlayer_with_astro_vue.md +3 -1
- package/docs/pl/intlayer_with_lynx+react.md +6 -1
- package/docs/pl/intlayer_with_nextjs_16.md +2 -0
- package/docs/pl/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/pl/intlayer_with_react_native+expo.md +6 -1
- package/docs/pl/intlayer_with_react_router_v7.md +3 -1
- package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/pl/intlayer_with_storybook.md +7 -1
- package/docs/pl/intlayer_with_svelte_kit.md +9 -4
- package/docs/pl/intlayer_with_tanstack+solid.md +18 -9
- package/docs/pl/intlayer_with_tanstack.md +17 -8
- package/docs/pl/intlayer_with_vite+lit.md +8 -2
- package/docs/pl/intlayer_with_vite+preact.md +3 -1
- package/docs/pl/intlayer_with_vite+react.md +9 -4
- package/docs/pl/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/pl/intlayer_with_vite+solid.md +3 -1
- package/docs/pl/intlayer_with_vite+svelte.md +4 -2
- package/docs/pl/intlayer_with_vite+vanilla.md +16 -5
- package/docs/pl/intlayer_with_vite+vue.md +9 -4
- package/docs/pl/packages/@intlayer_babel/export.md +131 -0
- package/docs/pl/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/pl/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/pl/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/pl/releases/v9.md +23 -1
- package/docs/pt/compiler.md +6 -3
- package/docs/pt/custom_domains.md +8 -2
- package/docs/pt/custom_url_rewrites.md +8 -2
- package/docs/pt/intlayer_with_analog.md +5 -1
- package/docs/pt/intlayer_with_astro.md +6 -4
- package/docs/pt/intlayer_with_astro_lit.md +3 -1
- package/docs/pt/intlayer_with_astro_preact.md +3 -1
- package/docs/pt/intlayer_with_astro_react.md +3 -1
- package/docs/pt/intlayer_with_astro_solid.md +3 -1
- package/docs/pt/intlayer_with_astro_svelte.md +3 -1
- package/docs/pt/intlayer_with_astro_vanilla.md +3 -1
- package/docs/pt/intlayer_with_astro_vue.md +3 -1
- package/docs/pt/intlayer_with_lynx+react.md +6 -1
- package/docs/pt/intlayer_with_nextjs_16.md +2 -0
- package/docs/pt/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/pt/intlayer_with_react_native+expo.md +6 -1
- package/docs/pt/intlayer_with_react_router_v7.md +8 -3
- package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/pt/intlayer_with_storybook.md +7 -1
- package/docs/pt/intlayer_with_svelte_kit.md +9 -4
- package/docs/pt/intlayer_with_tanstack+solid.md +18 -9
- package/docs/pt/intlayer_with_tanstack.md +17 -8
- package/docs/pt/intlayer_with_vite+lit.md +13 -4
- package/docs/pt/intlayer_with_vite+preact.md +3 -1
- package/docs/pt/intlayer_with_vite+react.md +9 -4
- package/docs/pt/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/pt/intlayer_with_vite+solid.md +3 -1
- package/docs/pt/intlayer_with_vite+svelte.md +4 -2
- package/docs/pt/intlayer_with_vite+vanilla.md +16 -5
- package/docs/pt/intlayer_with_vite+vue.md +9 -4
- package/docs/pt/packages/@intlayer_babel/export.md +131 -0
- package/docs/pt/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/pt/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/pt/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/pt/releases/v9.md +23 -1
- package/docs/ru/compiler.md +6 -3
- package/docs/ru/custom_domains.md +8 -2
- package/docs/ru/custom_url_rewrites.md +8 -2
- package/docs/ru/intlayer_with_analog.md +5 -1
- package/docs/ru/intlayer_with_astro.md +3 -1
- package/docs/ru/intlayer_with_astro_lit.md +3 -1
- package/docs/ru/intlayer_with_astro_preact.md +3 -1
- package/docs/ru/intlayer_with_astro_react.md +3 -1
- package/docs/ru/intlayer_with_astro_solid.md +3 -1
- package/docs/ru/intlayer_with_astro_svelte.md +3 -1
- package/docs/ru/intlayer_with_astro_vanilla.md +3 -1
- package/docs/ru/intlayer_with_astro_vue.md +3 -1
- package/docs/ru/intlayer_with_lynx+react.md +6 -1
- package/docs/ru/intlayer_with_nextjs_16.md +2 -0
- package/docs/ru/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/ru/intlayer_with_react_native+expo.md +6 -1
- package/docs/ru/intlayer_with_react_router_v7.md +3 -1
- package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/ru/intlayer_with_storybook.md +7 -1
- package/docs/ru/intlayer_with_svelte_kit.md +9 -4
- package/docs/ru/intlayer_with_tanstack+solid.md +18 -11
- package/docs/ru/intlayer_with_tanstack.md +17 -8
- package/docs/ru/intlayer_with_vite+lit.md +13 -4
- package/docs/ru/intlayer_with_vite+preact.md +3 -1
- package/docs/ru/intlayer_with_vite+react.md +9 -4
- package/docs/ru/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/ru/intlayer_with_vite+solid.md +3 -1
- package/docs/ru/intlayer_with_vite+svelte.md +4 -2
- package/docs/ru/intlayer_with_vite+vanilla.md +16 -5
- package/docs/ru/intlayer_with_vite+vue.md +9 -4
- package/docs/ru/packages/@intlayer_babel/export.md +131 -0
- package/docs/ru/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/ru/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/ru/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/ru/releases/v9.md +23 -1
- package/docs/tr/compiler.md +6 -3
- package/docs/tr/custom_domains.md +8 -2
- package/docs/tr/custom_url_rewrites.md +8 -2
- package/docs/tr/intlayer_with_analog.md +5 -1
- package/docs/tr/intlayer_with_astro_lit.md +3 -1
- package/docs/tr/intlayer_with_astro_preact.md +3 -1
- package/docs/tr/intlayer_with_astro_react.md +3 -1
- package/docs/tr/intlayer_with_astro_solid.md +3 -1
- package/docs/tr/intlayer_with_astro_svelte.md +3 -1
- package/docs/tr/intlayer_with_astro_vanilla.md +3 -1
- package/docs/tr/intlayer_with_astro_vue.md +3 -1
- package/docs/tr/intlayer_with_lynx+react.md +6 -1
- package/docs/tr/intlayer_with_nextjs_16.md +2 -0
- package/docs/tr/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/tr/intlayer_with_react_native+expo.md +6 -1
- package/docs/tr/intlayer_with_react_router_v7.md +3 -1
- package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/tr/intlayer_with_storybook.md +7 -1
- package/docs/tr/intlayer_with_svelte_kit.md +9 -4
- package/docs/tr/intlayer_with_tanstack+solid.md +18 -11
- package/docs/tr/intlayer_with_tanstack.md +17 -8
- package/docs/tr/intlayer_with_vite+lit.md +8 -2
- package/docs/tr/intlayer_with_vite+preact.md +3 -1
- package/docs/tr/intlayer_with_vite+react.md +9 -4
- package/docs/tr/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/tr/intlayer_with_vite+solid.md +3 -1
- package/docs/tr/intlayer_with_vite+svelte.md +4 -2
- package/docs/tr/intlayer_with_vite+vanilla.md +16 -5
- package/docs/tr/intlayer_with_vite+vue.md +9 -4
- package/docs/tr/packages/@intlayer_babel/export.md +131 -0
- package/docs/tr/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/tr/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/tr/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/tr/releases/v9.md +23 -1
- package/docs/uk/compiler.md +6 -3
- package/docs/uk/custom_domains.md +8 -2
- package/docs/uk/custom_url_rewrites.md +8 -2
- package/docs/uk/intlayer_with_analog.md +5 -1
- package/docs/uk/intlayer_with_astro.md +3 -1
- package/docs/uk/intlayer_with_astro_lit.md +3 -1
- package/docs/uk/intlayer_with_astro_preact.md +3 -1
- package/docs/uk/intlayer_with_astro_react.md +3 -1
- package/docs/uk/intlayer_with_astro_solid.md +3 -1
- package/docs/uk/intlayer_with_astro_svelte.md +3 -1
- package/docs/uk/intlayer_with_astro_vanilla.md +3 -1
- package/docs/uk/intlayer_with_astro_vue.md +3 -1
- package/docs/uk/intlayer_with_lynx+react.md +6 -1
- package/docs/uk/intlayer_with_nextjs_16.md +2 -0
- package/docs/uk/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/uk/intlayer_with_react_native+expo.md +6 -1
- package/docs/uk/intlayer_with_react_router_v7.md +3 -1
- package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/uk/intlayer_with_storybook.md +7 -1
- package/docs/uk/intlayer_with_svelte_kit.md +9 -4
- package/docs/uk/intlayer_with_tanstack+solid.md +18 -11
- package/docs/uk/intlayer_with_tanstack.md +17 -8
- package/docs/uk/intlayer_with_vite+lit.md +8 -2
- package/docs/uk/intlayer_with_vite+preact.md +3 -1
- package/docs/uk/intlayer_with_vite+react.md +9 -4
- package/docs/uk/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/uk/intlayer_with_vite+solid.md +3 -1
- package/docs/uk/intlayer_with_vite+svelte.md +9 -4
- package/docs/uk/intlayer_with_vite+vanilla.md +16 -5
- package/docs/uk/intlayer_with_vite+vue.md +9 -4
- package/docs/uk/packages/@intlayer_babel/export.md +131 -0
- package/docs/uk/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/uk/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/uk/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/uk/releases/v9.md +23 -1
- package/docs/ur/custom_domains.md +8 -2
- package/docs/ur/intlayer_with_storybook.md +7 -1
- package/docs/ur/intlayer_with_vite+lit.md +8 -2
- package/docs/ur/intlayer_with_vite+vanilla.md +16 -5
- package/docs/vi/compiler.md +6 -3
- package/docs/vi/custom_domains.md +8 -2
- package/docs/vi/custom_url_rewrites.md +8 -2
- package/docs/vi/intlayer_with_analog.md +5 -1
- package/docs/vi/intlayer_with_astro.md +3 -1
- package/docs/vi/intlayer_with_astro_lit.md +3 -1
- package/docs/vi/intlayer_with_astro_preact.md +3 -1
- package/docs/vi/intlayer_with_astro_react.md +3 -1
- package/docs/vi/intlayer_with_astro_solid.md +3 -1
- package/docs/vi/intlayer_with_astro_svelte.md +3 -1
- package/docs/vi/intlayer_with_astro_vanilla.md +3 -1
- package/docs/vi/intlayer_with_astro_vue.md +3 -1
- package/docs/vi/intlayer_with_lynx+react.md +6 -1
- package/docs/vi/intlayer_with_nextjs_15.md +2 -0
- package/docs/vi/intlayer_with_nextjs_16.md +2 -0
- package/docs/vi/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/vi/intlayer_with_react_native+expo.md +6 -1
- package/docs/vi/intlayer_with_react_router_v7.md +3 -1
- package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +9 -4
- package/docs/vi/intlayer_with_storybook.md +7 -1
- package/docs/vi/intlayer_with_svelte_kit.md +9 -4
- package/docs/vi/intlayer_with_tanstack+solid.md +18 -11
- package/docs/vi/intlayer_with_tanstack.md +17 -8
- package/docs/vi/intlayer_with_vite+lit.md +8 -2
- package/docs/vi/intlayer_with_vite+preact.md +3 -1
- package/docs/vi/intlayer_with_vite+react.md +9 -4
- package/docs/vi/intlayer_with_vite+react_compiler.md +9 -2
- package/docs/vi/intlayer_with_vite+solid.md +3 -1
- package/docs/vi/intlayer_with_vite+svelte.md +9 -4
- package/docs/vi/intlayer_with_vite+vanilla.md +16 -5
- package/docs/vi/intlayer_with_vite+vue.md +9 -4
- package/docs/vi/packages/@intlayer_babel/export.md +131 -0
- package/docs/vi/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/vi/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/vi/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/vi/releases/v9.md +23 -1
- package/docs/zh/compiler.md +6 -3
- package/docs/zh/custom_domains.md +8 -2
- package/docs/zh/custom_url_rewrites.md +8 -2
- package/docs/zh/intlayer_with_astro.md +3 -1
- package/docs/zh/intlayer_with_astro_lit.md +3 -1
- package/docs/zh/intlayer_with_astro_preact.md +3 -1
- package/docs/zh/intlayer_with_astro_react.md +3 -1
- package/docs/zh/intlayer_with_astro_solid.md +3 -1
- package/docs/zh/intlayer_with_astro_svelte.md +3 -1
- package/docs/zh/intlayer_with_astro_vanilla.md +3 -1
- package/docs/zh/intlayer_with_astro_vue.md +3 -1
- package/docs/zh/intlayer_with_nextjs_16.md +2 -0
- package/docs/zh/intlayer_with_nextjs_compiler.md +2 -0
- package/docs/zh/intlayer_with_react_native+expo.md +6 -1
- package/docs/zh/intlayer_with_react_router_v7.md +3 -1
- package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +3 -1
- package/docs/zh/intlayer_with_storybook.md +7 -1
- package/docs/zh/intlayer_with_svelte_kit.md +9 -4
- package/docs/zh/intlayer_with_vite+preact.md +3 -1
- package/docs/zh/intlayer_with_vite+react.md +9 -4
- package/docs/zh/intlayer_with_vite+svelte.md +9 -4
- package/docs/zh/intlayer_with_vite+vue.md +9 -4
- package/docs/zh/packages/@intlayer_babel/export.md +131 -0
- package/docs/zh/packages/vite-intlayer/intlayerCompiler.md +120 -0
- package/docs/zh/packages/vite-intlayer/intlayerMinify.md +92 -0
- package/docs/zh/packages/vite-intlayer/intlayerProxy.md +172 -0
- package/docs/zh/releases/v9.md +23 -1
- package/package.json +6 -6
- package/src/generated/docs.entry.ts +80 -0
package/docs/es/releases/v9.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
createdAt: 2026-06-14
|
|
3
|
-
updatedAt: 2026-06-
|
|
3
|
+
updatedAt: 2026-06-25
|
|
4
4
|
title: Nuevo Intlayer v9 - ¿Qué hay de nuevo?
|
|
5
5
|
description: Descubre las novedades de Intlayer v9. Presentamos paquetes de compatibilidad directos para librerías i18n populares y soporte para Colecciones, Variantes y Registros Dinámicos.
|
|
6
6
|
keywords:
|
|
@@ -248,6 +248,28 @@ Los plugins independientes `intlayerCompiler()` e `intlayerProxy()` siguen siend
|
|
|
248
248
|
|
|
249
249
|
---
|
|
250
250
|
|
|
251
|
+
## React Native: importaciones desde un solo paquete
|
|
252
|
+
|
|
253
|
+
En una aplicación de React Native o Expo, ya no necesitas alternar entre `react-intlayer` y `react-native-intlayer`. El paquete `react-native-intlayer` ahora **reexporta la API completa de `react-intlayer`** (hooks, utilidades y las subrutas `/format`, `/html`, y `/markdown`), y su `IntlayerProvider` aplica automáticamente los polyfills de React Native.
|
|
254
|
+
|
|
255
|
+
Importa todo desde el paquete único `react-native-intlayer`:
|
|
256
|
+
|
|
257
|
+
```tsx
|
|
258
|
+
import {
|
|
259
|
+
IntlayerProvider,
|
|
260
|
+
useIntlayer,
|
|
261
|
+
useLocale,
|
|
262
|
+
} from "react-native-intlayer";
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
```bash
|
|
266
|
+
npm install intlayer react-native-intlayer
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
> Importar desde `react-intlayer` sigue funcionando, pero `react-native-intlayer` es ahora el punto de entrada único recomendado para React Native — su provider incluye los polyfills que el provider de `react-intlayer` (orientado a la web) no contiene.
|
|
270
|
+
|
|
271
|
+
---
|
|
272
|
+
|
|
251
273
|
## Notas de migración desde v8
|
|
252
274
|
|
|
253
275
|
Si estás actualizando desde v8, ten en cuenta que la v9 no incluye cambios disruptivos. Pero aquí están los cambios clave:
|
package/docs/fr/compiler.md
CHANGED
|
@@ -81,12 +81,15 @@ Mettez à jour votre `vite.config.ts` pour inclure le plugin `intlayerCompiler`
|
|
|
81
81
|
|
|
82
82
|
```ts fileName="vite.config.ts"
|
|
83
83
|
import { defineConfig } from "vite";
|
|
84
|
-
import { intlayer
|
|
84
|
+
import { intlayer } from "vite-intlayer";
|
|
85
85
|
|
|
86
86
|
export default defineConfig({
|
|
87
87
|
plugins: [
|
|
88
|
-
intlayer(
|
|
89
|
-
|
|
88
|
+
intlayer({
|
|
89
|
+
proxy: {
|
|
90
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
91
|
+
},
|
|
92
|
+
}),
|
|
90
93
|
],
|
|
91
94
|
});
|
|
92
95
|
```
|
|
@@ -172,10 +172,16 @@ Le plugin Vite `intlayerProxy` applique la même logique pendant le développeme
|
|
|
172
172
|
|
|
173
173
|
```typescript fileName="vite.config.ts"
|
|
174
174
|
import { defineConfig } from "vite";
|
|
175
|
-
import {
|
|
175
|
+
import { intlayer } from "vite-intlayer";
|
|
176
176
|
|
|
177
177
|
export default defineConfig({
|
|
178
|
-
plugins: [
|
|
178
|
+
plugins: [
|
|
179
|
+
intlayer({
|
|
180
|
+
proxy: {
|
|
181
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
182
|
+
},
|
|
183
|
+
}),
|
|
184
|
+
],
|
|
179
185
|
});
|
|
180
186
|
```
|
|
181
187
|
|
|
@@ -342,10 +342,16 @@ Pour SolidJS, Vue et Svelte, le plugin Vite `intlayerProxy` gère les réécritu
|
|
|
342
342
|
|
|
343
343
|
```typescript fileName="vite.config.ts"
|
|
344
344
|
import { defineConfig } from "vite";
|
|
345
|
-
import {
|
|
345
|
+
import { intlayer } from "vite-intlayer";
|
|
346
346
|
|
|
347
347
|
export default defineConfig({
|
|
348
|
-
plugins: [
|
|
348
|
+
plugins: [
|
|
349
|
+
intlayer({
|
|
350
|
+
proxy: {
|
|
351
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
352
|
+
},
|
|
353
|
+
}),
|
|
354
|
+
],
|
|
349
355
|
});
|
|
350
356
|
```
|
|
351
357
|
|
|
@@ -207,7 +207,11 @@ import analog from "@analogjs/platform";
|
|
|
207
207
|
export default defineConfig(() => ({
|
|
208
208
|
plugins: [
|
|
209
209
|
analog(),
|
|
210
|
-
intlayer(
|
|
210
|
+
intlayer({
|
|
211
|
+
proxy: {
|
|
212
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
213
|
+
},
|
|
214
|
+
}),
|
|
211
215
|
],
|
|
212
216
|
}));
|
|
213
217
|
```
|
|
@@ -517,6 +517,8 @@ bun x intlayer extract
|
|
|
517
517
|
</Tab>
|
|
518
518
|
<Tab value='Compilateur Babel'>
|
|
519
519
|
|
|
520
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
521
|
+
|
|
520
522
|
Mettez à jour votre fichier `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
|
|
521
523
|
|
|
522
524
|
```ts fileName="vite.config.ts"
|
|
@@ -526,7 +528,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
526
528
|
export default defineConfig({
|
|
527
529
|
plugins: [
|
|
528
530
|
intlayer(),
|
|
529
|
-
intlayerCompiler(), //
|
|
531
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
530
532
|
],
|
|
531
533
|
});
|
|
532
534
|
```
|
|
@@ -601,6 +601,8 @@ bun x intlayer extract
|
|
|
601
601
|
</Tab>
|
|
602
602
|
<Tab value='Compilateur Babel'>
|
|
603
603
|
|
|
604
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
605
|
+
|
|
604
606
|
Mettez à jour votre fichier `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
|
|
605
607
|
|
|
606
608
|
```ts fileName="vite.config.ts"
|
|
@@ -610,7 +612,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
610
612
|
export default defineConfig({
|
|
611
613
|
plugins: [
|
|
612
614
|
intlayer(),
|
|
613
|
-
intlayerCompiler(), //
|
|
615
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
614
616
|
],
|
|
615
617
|
});
|
|
616
618
|
```
|
|
@@ -556,6 +556,8 @@ bun x intlayer extract
|
|
|
556
556
|
</Tab>
|
|
557
557
|
<Tab value='Compilateur Babel'>
|
|
558
558
|
|
|
559
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
560
|
+
|
|
559
561
|
Mettez à jour votre fichier `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
|
|
560
562
|
|
|
561
563
|
```ts fileName="vite.config.ts"
|
|
@@ -565,7 +567,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
565
567
|
export default defineConfig({
|
|
566
568
|
plugins: [
|
|
567
569
|
intlayer(),
|
|
568
|
-
intlayerCompiler(), //
|
|
570
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
569
571
|
],
|
|
570
572
|
});
|
|
571
573
|
```
|
|
@@ -553,6 +553,8 @@ bun x intlayer extract
|
|
|
553
553
|
</Tab>
|
|
554
554
|
<Tab value='Compilateur Babel'>
|
|
555
555
|
|
|
556
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
557
|
+
|
|
556
558
|
Mettez à jour votre fichier `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
|
|
557
559
|
|
|
558
560
|
```ts fileName="vite.config.ts"
|
|
@@ -562,7 +564,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
562
564
|
export default defineConfig({
|
|
563
565
|
plugins: [
|
|
564
566
|
intlayer(),
|
|
565
|
-
intlayerCompiler(), //
|
|
567
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
566
568
|
],
|
|
567
569
|
});
|
|
568
570
|
```
|
|
@@ -553,6 +553,8 @@ bun x intlayer extract
|
|
|
553
553
|
</Tab>
|
|
554
554
|
<Tab value='Compilateur Babel'>
|
|
555
555
|
|
|
556
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
557
|
+
|
|
556
558
|
Mettez à jour votre fichier `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
|
|
557
559
|
|
|
558
560
|
```ts fileName="vite.config.ts"
|
|
@@ -562,7 +564,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
562
564
|
export default defineConfig({
|
|
563
565
|
plugins: [
|
|
564
566
|
intlayer(),
|
|
565
|
-
intlayerCompiler(), //
|
|
567
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
566
568
|
],
|
|
567
569
|
});
|
|
568
570
|
```
|
|
@@ -557,6 +557,8 @@ bun x intlayer extract
|
|
|
557
557
|
</Tab>
|
|
558
558
|
<Tab value='Compilateur Babel'>
|
|
559
559
|
|
|
560
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
561
|
+
|
|
560
562
|
Mettez à jour votre fichier `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
|
|
561
563
|
|
|
562
564
|
```ts fileName="vite.config.ts"
|
|
@@ -566,7 +568,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
566
568
|
export default defineConfig({
|
|
567
569
|
plugins: [
|
|
568
570
|
intlayer(),
|
|
569
|
-
intlayerCompiler(), //
|
|
571
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
570
572
|
],
|
|
571
573
|
});
|
|
572
574
|
```
|
|
@@ -529,6 +529,8 @@ bun x intlayer extract
|
|
|
529
529
|
</Tab>
|
|
530
530
|
<Tab value='Compilateur Babel'>
|
|
531
531
|
|
|
532
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
533
|
+
|
|
532
534
|
Mettez à jour votre fichier `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
|
|
533
535
|
|
|
534
536
|
```ts fileName="vite.config.ts"
|
|
@@ -538,7 +540,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
538
540
|
export default defineConfig({
|
|
539
541
|
plugins: [
|
|
540
542
|
intlayer(),
|
|
541
|
-
intlayerCompiler(), //
|
|
543
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
542
544
|
],
|
|
543
545
|
});
|
|
544
546
|
```
|
|
@@ -567,6 +567,8 @@ bun x intlayer extract
|
|
|
567
567
|
</Tab>
|
|
568
568
|
<Tab value='Compilateur Babel'>
|
|
569
569
|
|
|
570
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
571
|
+
|
|
570
572
|
Mettez à jour votre fichier `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
|
|
571
573
|
|
|
572
574
|
```ts fileName="vite.config.ts"
|
|
@@ -576,7 +578,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
576
578
|
export default defineConfig({
|
|
577
579
|
plugins: [
|
|
578
580
|
intlayer(),
|
|
579
|
-
intlayerCompiler(), //
|
|
581
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
580
582
|
],
|
|
581
583
|
});
|
|
582
584
|
```
|
|
@@ -223,6 +223,8 @@ if (import.meta.webpackHot) {
|
|
|
223
223
|
Créez des fichiers de **déclaration de contenu** n'importe où dans votre projet (généralement dans `src/`), en utilisant l'un des formats d'extension pris en charge par Intlayer :
|
|
224
224
|
|
|
225
225
|
- `.content.json`
|
|
226
|
+
- `.content.jsonc`
|
|
227
|
+
- `.content.json5`
|
|
226
228
|
- `.content.ts`
|
|
227
229
|
- `.content.tsx`
|
|
228
230
|
- `.content.js`
|
|
@@ -230,7 +232,10 @@ Créez des fichiers de **déclaration de contenu** n'importe où dans votre proj
|
|
|
230
232
|
- `.content.mjs`
|
|
231
233
|
- `.content.mjx`
|
|
232
234
|
- `.content.cjs`
|
|
233
|
-
- `.content.
|
|
235
|
+
- `.content.md`
|
|
236
|
+
- `.content.mdx`
|
|
237
|
+
- `.content.yaml`
|
|
238
|
+
- `.content.yml`
|
|
234
239
|
- etc.
|
|
235
240
|
|
|
236
241
|
Exemple :
|
|
@@ -1045,6 +1045,8 @@ bun x intlayer extract
|
|
|
1045
1045
|
</Tab>
|
|
1046
1046
|
<Tab value='Compilateur Babel'>
|
|
1047
1047
|
|
|
1048
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
1049
|
+
|
|
1048
1050
|
```bash packageManager="npm"
|
|
1049
1051
|
npm install @intlayer/babel --save-dev
|
|
1050
1052
|
```
|
|
@@ -585,6 +585,8 @@ bun x intlayer extract
|
|
|
585
585
|
</Tab>
|
|
586
586
|
<Tab value='Compilateur Babel'>
|
|
587
587
|
|
|
588
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
589
|
+
|
|
588
590
|
```bash packageManager="npm"
|
|
589
591
|
npm install @intlayer/babel --save-dev
|
|
590
592
|
```
|
|
@@ -261,6 +261,8 @@ export default RootLayout;
|
|
|
261
261
|
Créez des fichiers de **déclaration de contenu** n'importe où dans votre projet (généralement dans `src/`), en utilisant l'un des formats d'extension pris en charge par Intlayer :
|
|
262
262
|
|
|
263
263
|
- `.content.json`
|
|
264
|
+
- `.content.jsonc`
|
|
265
|
+
- `.content.json5`
|
|
264
266
|
- `.content.ts`
|
|
265
267
|
- `.content.tsx`
|
|
266
268
|
- `.content.js`
|
|
@@ -268,7 +270,10 @@ Créez des fichiers de **déclaration de contenu** n'importe où dans votre proj
|
|
|
268
270
|
- `.content.mjs`
|
|
269
271
|
- `.content.mjx`
|
|
270
272
|
- `.content.cjs`
|
|
271
|
-
- `.content.
|
|
273
|
+
- `.content.md`
|
|
274
|
+
- `.content.mdx`
|
|
275
|
+
- `.content.yaml`
|
|
276
|
+
- `.content.yml`
|
|
272
277
|
- etc.
|
|
273
278
|
|
|
274
279
|
> **Expo Router (web) : gardez les fichiers `.content.*` en dehors du répertoire `app/`.** Expo Router traite chaque fichier JavaScript/TypeScript dans `app/` comme une route. Sur le web, sa découverte de routes scanne directement le système de fichiers et **ne respecte pas** le `resolver.blockList` de Metro, donc un `*.content.ts` co-localisé est enregistré comme une route. Un fichier tel que `app/(tabs)/_layout.content.ts` est même analysé comme un layout (la partie `.content` est lue comme un suffixe de plateforme), ce qui entre en conflit avec le vrai `_layout.tsx` et renvoie une erreur :
|
|
@@ -636,6 +636,8 @@ bun x intlayer extract
|
|
|
636
636
|
</Tab>
|
|
637
637
|
<Tab value='Compilateur Babel'>
|
|
638
638
|
|
|
639
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
640
|
+
|
|
639
641
|
Mettez à jour votre fichier `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
|
|
640
642
|
|
|
641
643
|
```ts fileName="vite.config.ts"
|
|
@@ -645,7 +647,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
645
647
|
export default defineConfig({
|
|
646
648
|
plugins: [
|
|
647
649
|
intlayer(),
|
|
648
|
-
intlayerCompiler(), //
|
|
650
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
649
651
|
],
|
|
650
652
|
});
|
|
651
653
|
```
|
|
@@ -683,6 +683,8 @@ bun x intlayer extract
|
|
|
683
683
|
</Tab>
|
|
684
684
|
<Tab value='Compilateur Babel'>
|
|
685
685
|
|
|
686
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
687
|
+
|
|
686
688
|
Mettez à jour votre fichier `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
|
|
687
689
|
|
|
688
690
|
```ts fileName="vite.config.ts"
|
|
@@ -692,7 +694,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
692
694
|
export default defineConfig({
|
|
693
695
|
plugins: [
|
|
694
696
|
intlayer(),
|
|
695
|
-
intlayerCompiler(), //
|
|
697
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
696
698
|
],
|
|
697
699
|
});
|
|
698
700
|
```
|
|
@@ -190,7 +190,13 @@ const config: StorybookConfig = {
|
|
|
190
190
|
} as const;
|
|
191
191
|
|
|
192
192
|
const viteConfig = defineConfig(() => ({
|
|
193
|
-
plugins: [
|
|
193
|
+
plugins: [
|
|
194
|
+
intlayer({
|
|
195
|
+
proxy: {
|
|
196
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
197
|
+
},
|
|
198
|
+
}),
|
|
199
|
+
],
|
|
194
200
|
}));
|
|
195
201
|
|
|
196
202
|
return mergeConfig(baseConfig, viteConfig(env));
|
|
@@ -614,14 +614,17 @@ Pour ajouter un proxy backend à votre application SvelteKit, vous pouvez utilis
|
|
|
614
614
|
|
|
615
615
|
```ts fileName="vite.config.ts"
|
|
616
616
|
import { defineConfig } from "vite";
|
|
617
|
-
import { intlayer
|
|
617
|
+
import { intlayer } from "vite-intlayer";
|
|
618
618
|
import { sveltekit } from "@sveltejs/kit/vite";
|
|
619
619
|
|
|
620
620
|
// https://vitejs.dev/config/
|
|
621
621
|
export default defineConfig({
|
|
622
622
|
plugins: [
|
|
623
|
-
|
|
624
|
-
|
|
623
|
+
intlayer({
|
|
624
|
+
proxy: {
|
|
625
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
626
|
+
},
|
|
627
|
+
}),
|
|
625
628
|
sveltekit(),
|
|
626
629
|
],],
|
|
627
630
|
});
|
|
@@ -719,6 +722,8 @@ bun x intlayer extract
|
|
|
719
722
|
</Tab>
|
|
720
723
|
<Tab value='Compilateur Babel'>
|
|
721
724
|
|
|
725
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
726
|
+
|
|
722
727
|
Mettez à jour votre fichier `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
|
|
723
728
|
|
|
724
729
|
```ts fileName="vite.config.ts"
|
|
@@ -728,7 +733,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
728
733
|
export default defineConfig({
|
|
729
734
|
plugins: [
|
|
730
735
|
intlayer(),
|
|
731
|
-
intlayerCompiler(), //
|
|
736
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
732
737
|
],
|
|
733
738
|
});
|
|
734
739
|
```
|
|
@@ -228,11 +228,15 @@ export default defineConfig({
|
|
|
228
228
|
tanstackStart({
|
|
229
229
|
router: {
|
|
230
230
|
routeFileIgnorePattern:
|
|
231
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
231
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
232
232
|
},
|
|
233
233
|
}),
|
|
234
234
|
solidPlugin({ ssr: true }),
|
|
235
|
-
intlayer(
|
|
235
|
+
intlayer({
|
|
236
|
+
proxy: {
|
|
237
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
238
|
+
},
|
|
239
|
+
}),
|
|
236
240
|
],
|
|
237
241
|
});
|
|
238
242
|
```
|
|
@@ -568,22 +572,25 @@ Vous pouvez également utiliser `intlayerProxy` pour ajouter un routage côté s
|
|
|
568
572
|
|
|
569
573
|
> Notez que pour utiliser `intlayerProxy` en production, vous devez déplacer le package `vite-intlayer` de `devDependencies` vers `dependencies`.
|
|
570
574
|
|
|
571
|
-
```typescript
|
|
575
|
+
```typescript fileName="vite.config.ts"
|
|
572
576
|
import { tanstackStart } from "@tanstack/solid-start/plugin/vite";
|
|
573
577
|
import solid from "vite-plugin-solid";
|
|
574
578
|
import { nitro } from "nitro/vite";
|
|
575
579
|
import { defineConfig } from "vite";
|
|
576
|
-
import { intlayer
|
|
580
|
+
import { intlayer } from "vite-intlayer";
|
|
577
581
|
|
|
578
582
|
export default defineConfig({
|
|
579
583
|
plugins: [
|
|
580
|
-
intlayerProxy(), // Le proxy doit être placé avant le serveur si vous utilisez Nitro
|
|
581
584
|
nitro(),
|
|
582
|
-
intlayer(
|
|
585
|
+
intlayer({
|
|
586
|
+
proxy: {
|
|
587
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
588
|
+
},
|
|
589
|
+
}),
|
|
583
590
|
tanstackStart({
|
|
584
591
|
router: {
|
|
585
592
|
routeFileIgnorePattern:
|
|
586
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
593
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
587
594
|
},
|
|
588
595
|
}),
|
|
589
596
|
solid(),
|
|
@@ -826,9 +833,9 @@ bun x intlayer extract
|
|
|
826
833
|
</Tab>
|
|
827
834
|
<Tab value='Babel compiler'>
|
|
828
835
|
|
|
829
|
-
|
|
836
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
830
837
|
|
|
831
|
-
|
|
838
|
+
Mettez à jour votre `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
|
|
832
839
|
|
|
833
840
|
```ts fileName="vite.config.ts"
|
|
834
841
|
import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
@@ -843,12 +850,12 @@ export default defineConfig({
|
|
|
843
850
|
tanstackStart({
|
|
844
851
|
router: {
|
|
845
852
|
routeFileIgnorePattern:
|
|
846
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
853
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
847
854
|
},
|
|
848
855
|
}),
|
|
849
856
|
solidPlugin({ ssr: true }),
|
|
850
857
|
intlayer(),
|
|
851
|
-
intlayerCompiler(),
|
|
858
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
852
859
|
],
|
|
853
860
|
});
|
|
854
861
|
```
|
|
@@ -242,11 +242,15 @@ import { intlayer } from "vite-intlayer";
|
|
|
242
242
|
const config = defineConfig({
|
|
243
243
|
plugins: [
|
|
244
244
|
nitro(),
|
|
245
|
-
intlayer(
|
|
245
|
+
intlayer({
|
|
246
|
+
proxy: {
|
|
247
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
248
|
+
},
|
|
249
|
+
}),
|
|
246
250
|
tanstackStart({
|
|
247
251
|
router: {
|
|
248
252
|
routeFileIgnorePattern:
|
|
249
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
253
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
250
254
|
},
|
|
251
255
|
}),
|
|
252
256
|
viteReact(),
|
|
@@ -650,22 +654,25 @@ Vous pouvez également utiliser `intlayerProxy` pour ajouter un routage côté s
|
|
|
650
654
|
|
|
651
655
|
> Notez que pour utiliser `intlayerProxy` en production, vous devez déplacer le paquet `vite-intlayer` de `devDependencies` vers `dependencies`.
|
|
652
656
|
|
|
653
|
-
```typescript
|
|
657
|
+
```typescript fileName="vite.config.ts"
|
|
654
658
|
import { tanstackStart } from "@tanstack/react-start/plugin/vite";
|
|
655
659
|
import viteReact from "@vitejs/plugin-react";
|
|
656
660
|
import { nitro } from "nitro/vite";
|
|
657
661
|
import { defineConfig } from "vite";
|
|
658
|
-
import { intlayer
|
|
662
|
+
import { intlayer } from "vite-intlayer";
|
|
659
663
|
|
|
660
664
|
export default defineConfig({
|
|
661
665
|
plugins: [
|
|
662
|
-
intlayerProxy(), // Le proxy doit être placé avant le serveur si vous utilisez Nitro
|
|
663
666
|
nitro(),
|
|
664
|
-
intlayer(
|
|
667
|
+
intlayer({
|
|
668
|
+
proxy: {
|
|
669
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
670
|
+
},
|
|
671
|
+
}),
|
|
665
672
|
tanstackStart({
|
|
666
673
|
router: {
|
|
667
674
|
routeFileIgnorePattern:
|
|
668
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
675
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
669
676
|
},
|
|
670
677
|
}),
|
|
671
678
|
viteReact(),
|
|
@@ -906,6 +913,8 @@ bun x intlayer extract
|
|
|
906
913
|
</Tab>
|
|
907
914
|
<Tab value='Compilateur Babel'>
|
|
908
915
|
|
|
916
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
917
|
+
|
|
909
918
|
Mettez à jour votre fichier `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
|
|
910
919
|
|
|
911
920
|
```ts fileName="vite.config.ts"
|
|
@@ -915,7 +924,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
915
924
|
export default defineConfig({
|
|
916
925
|
plugins: [
|
|
917
926
|
intlayer(),
|
|
918
|
-
intlayerCompiler(), //
|
|
927
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
919
928
|
],
|
|
920
929
|
});
|
|
921
930
|
```
|
|
@@ -205,7 +205,13 @@ import { intlayer } from "vite-intlayer";
|
|
|
205
205
|
|
|
206
206
|
// https://vitejs.dev/config/
|
|
207
207
|
export default defineConfig({
|
|
208
|
-
plugins: [
|
|
208
|
+
plugins: [
|
|
209
|
+
intlayer({
|
|
210
|
+
proxy: {
|
|
211
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
212
|
+
},
|
|
213
|
+
}),
|
|
214
|
+
],
|
|
209
215
|
});
|
|
210
216
|
```
|
|
211
217
|
|
|
@@ -474,12 +480,15 @@ Tout d'abord, ajoutez `intlayerProxy` à votre configuration Vite :
|
|
|
474
480
|
|
|
475
481
|
```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
476
482
|
import { defineConfig } from "vite";
|
|
477
|
-
import { intlayer
|
|
483
|
+
import { intlayer } from "vite-intlayer";
|
|
478
484
|
|
|
479
485
|
export default defineConfig({
|
|
480
486
|
plugins: [
|
|
481
|
-
|
|
482
|
-
|
|
487
|
+
intlayer({
|
|
488
|
+
proxy: {
|
|
489
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
490
|
+
},
|
|
491
|
+
}),
|
|
483
492
|
],
|
|
484
493
|
});
|
|
485
494
|
```
|
|
@@ -829,6 +829,8 @@ bun x intlayer extract
|
|
|
829
829
|
</Tab>
|
|
830
830
|
<Tab value='Compilateur Babel'>
|
|
831
831
|
|
|
832
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
833
|
+
|
|
832
834
|
Mettez à jour votre fichier `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
|
|
833
835
|
|
|
834
836
|
```ts fileName="vite.config.ts"
|
|
@@ -838,7 +840,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
838
840
|
export default defineConfig({
|
|
839
841
|
plugins: [
|
|
840
842
|
intlayer(),
|
|
841
|
-
intlayerCompiler(), //
|
|
843
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
842
844
|
],
|
|
843
845
|
});
|
|
844
846
|
```
|
|
@@ -504,14 +504,17 @@ En parallèle, vous pouvez également utiliser le `intlayerProxy` pour ajouter u
|
|
|
504
504
|
```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
505
505
|
import { defineConfig } from "vite";
|
|
506
506
|
import react from "@vitejs/plugin-react-swc";
|
|
507
|
-
import { intlayer
|
|
507
|
+
import { intlayer } from "vite-intlayer";
|
|
508
508
|
|
|
509
509
|
// https://vitejs.dev/config/
|
|
510
510
|
export default defineConfig({
|
|
511
511
|
plugins: [
|
|
512
|
-
intlayerProxy(), // should be placed first
|
|
513
512
|
react(),
|
|
514
|
-
intlayer(
|
|
513
|
+
intlayer({
|
|
514
|
+
proxy: {
|
|
515
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
516
|
+
},
|
|
517
|
+
}),
|
|
515
518
|
],
|
|
516
519
|
});
|
|
517
520
|
```
|
|
@@ -816,6 +819,8 @@ bun x intlayer extract
|
|
|
816
819
|
</Tab>
|
|
817
820
|
<Tab value='Compilateur Babel'>
|
|
818
821
|
|
|
822
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
823
|
+
|
|
819
824
|
Mettez à jour votre fichier `vite.config.ts` pour inclure le plugin `intlayerCompiler` :
|
|
820
825
|
|
|
821
826
|
```ts fileName="vite.config.ts"
|
|
@@ -825,7 +830,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
825
830
|
export default defineConfig({
|
|
826
831
|
plugins: [
|
|
827
832
|
intlayer(),
|
|
828
|
-
intlayerCompiler(), //
|
|
833
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
829
834
|
],
|
|
830
835
|
});
|
|
831
836
|
```
|