@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
|
@@ -542,6 +542,8 @@ bun x intlayer extract
|
|
|
542
542
|
</Tab>
|
|
543
543
|
<Tab value='Kompilator Babel'>
|
|
544
544
|
|
|
545
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
546
|
+
|
|
545
547
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
546
548
|
|
|
547
549
|
```ts fileName="vite.config.ts"
|
|
@@ -551,7 +553,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
551
553
|
export default defineConfig({
|
|
552
554
|
plugins: [
|
|
553
555
|
intlayer(),
|
|
554
|
-
intlayerCompiler(), //
|
|
556
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
555
557
|
],
|
|
556
558
|
});
|
|
557
559
|
```
|
|
@@ -538,6 +538,8 @@ bun x intlayer extract
|
|
|
538
538
|
</Tab>
|
|
539
539
|
<Tab value='Kompilator Babel'>
|
|
540
540
|
|
|
541
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
542
|
+
|
|
541
543
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
542
544
|
|
|
543
545
|
```ts fileName="vite.config.ts"
|
|
@@ -547,7 +549,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
547
549
|
export default defineConfig({
|
|
548
550
|
plugins: [
|
|
549
551
|
intlayer(),
|
|
550
|
-
intlayerCompiler(), //
|
|
552
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
551
553
|
],
|
|
552
554
|
});
|
|
553
555
|
```
|
|
@@ -538,6 +538,8 @@ bun x intlayer extract
|
|
|
538
538
|
</Tab>
|
|
539
539
|
<Tab value='Kompilator Babel'>
|
|
540
540
|
|
|
541
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
542
|
+
|
|
541
543
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
542
544
|
|
|
543
545
|
```ts fileName="vite.config.ts"
|
|
@@ -547,7 +549,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
547
549
|
export default defineConfig({
|
|
548
550
|
plugins: [
|
|
549
551
|
intlayer(),
|
|
550
|
-
intlayerCompiler(), //
|
|
552
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
551
553
|
],
|
|
552
554
|
});
|
|
553
555
|
```
|
|
@@ -542,6 +542,8 @@ bun x intlayer extract
|
|
|
542
542
|
</Tab>
|
|
543
543
|
<Tab value='Kompilator Babel'>
|
|
544
544
|
|
|
545
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
546
|
+
|
|
545
547
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
546
548
|
|
|
547
549
|
```ts fileName="vite.config.ts"
|
|
@@ -551,7 +553,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
551
553
|
export default defineConfig({
|
|
552
554
|
plugins: [
|
|
553
555
|
intlayer(),
|
|
554
|
-
intlayerCompiler(), //
|
|
556
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
555
557
|
],
|
|
556
558
|
});
|
|
557
559
|
```
|
|
@@ -516,6 +516,8 @@ bun x intlayer extract
|
|
|
516
516
|
</Tab>
|
|
517
517
|
<Tab value='Kompilator Babel'>
|
|
518
518
|
|
|
519
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
520
|
+
|
|
519
521
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
520
522
|
|
|
521
523
|
```ts fileName="vite.config.ts"
|
|
@@ -525,7 +527,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
525
527
|
export default defineConfig({
|
|
526
528
|
plugins: [
|
|
527
529
|
intlayer(),
|
|
528
|
-
intlayerCompiler(), //
|
|
530
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
529
531
|
],
|
|
530
532
|
});
|
|
531
533
|
```
|
|
@@ -552,6 +552,8 @@ bun x intlayer extract
|
|
|
552
552
|
</Tab>
|
|
553
553
|
<Tab value='Kompilator Babel'>
|
|
554
554
|
|
|
555
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
556
|
+
|
|
555
557
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
556
558
|
|
|
557
559
|
```ts fileName="vite.config.ts"
|
|
@@ -561,7 +563,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
561
563
|
export default defineConfig({
|
|
562
564
|
plugins: [
|
|
563
565
|
intlayer(),
|
|
564
|
-
intlayerCompiler(), //
|
|
566
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
565
567
|
],
|
|
566
568
|
});
|
|
567
569
|
```
|
|
@@ -215,6 +215,8 @@ if (import.meta.webpackHot) {
|
|
|
215
215
|
Utwórz pliki **deklaracji treści** w dowolnym miejscu w swoim projekcie (zazwyczaj w katalogu `src/`), używając dowolnego z formatów rozszerzeń obsługiwanych przez Intlayer:
|
|
216
216
|
|
|
217
217
|
- `.content.json`
|
|
218
|
+
- `.content.jsonc`
|
|
219
|
+
- `.content.json5`
|
|
218
220
|
- `.content.ts`
|
|
219
221
|
- `.content.tsx`
|
|
220
222
|
- `.content.js`
|
|
@@ -222,7 +224,10 @@ Utwórz pliki **deklaracji treści** w dowolnym miejscu w swoim projekcie (zazwy
|
|
|
222
224
|
- `.content.mjs`
|
|
223
225
|
- `.content.mjx`
|
|
224
226
|
- `.content.cjs`
|
|
225
|
-
- `.content.
|
|
227
|
+
- `.content.md`
|
|
228
|
+
- `.content.mdx`
|
|
229
|
+
- `.content.yaml`
|
|
230
|
+
- `.content.yml`
|
|
226
231
|
- itd.
|
|
227
232
|
|
|
228
233
|
Przykład:
|
|
@@ -978,6 +978,8 @@ bun x intlayer extract
|
|
|
978
978
|
</Tab>
|
|
979
979
|
<Tab value='Kompilator Babel'>
|
|
980
980
|
|
|
981
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
982
|
+
|
|
981
983
|
```bash packageManager="npm"
|
|
982
984
|
npm install @intlayer/babel --save-dev
|
|
983
985
|
```
|
|
@@ -583,6 +583,8 @@ bun x intlayer extract
|
|
|
583
583
|
</Tab>
|
|
584
584
|
<Tab value='Kompilator Babel'>
|
|
585
585
|
|
|
586
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
587
|
+
|
|
586
588
|
```bash packageManager="npm"
|
|
587
589
|
npm install @intlayer/babel --save-dev
|
|
588
590
|
```
|
|
@@ -261,6 +261,8 @@ export default RootLayout;
|
|
|
261
261
|
Utwórz pliki **deklaracji zawartości** w dowolnym miejscu w swoim projekcie (zwykle w katalogu `src/`), używając dowolnego z formatów rozszerzeń obsługiwanych przez 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 @@ Utwórz pliki **deklaracji zawartości** w dowolnym miejscu w swoim projekcie (z
|
|
|
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
|
- itd.
|
|
273
278
|
|
|
274
279
|
> **Expo Router (web): trzymaj pliki `.content.*` poza katalogiem `app/`.** Expo Router traktuje każdy plik JavaScript/TypeScript wewnątrz `app/` jako ścieżkę (route). W sieci web odkrywanie ścieżek skanuje system plików bezpośrednio i **nie** honoruje `resolver.blockList` z Metro, więc współistniejący plik `*.content.ts` jest rejestrowany jako ścieżka. Plik taki jak `app/(tabs)/_layout.content.ts` jest nawet parsowany jako układ (layout - część `.content` jest czytana jako przyrostek platformy), co koliduje z prawdziwym `_layout.tsx` i wyrzuca błąd:
|
|
@@ -598,6 +598,8 @@ bun x intlayer extract
|
|
|
598
598
|
</Tab>
|
|
599
599
|
<Tab value='Kompilator Babel'>
|
|
600
600
|
|
|
601
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
602
|
+
|
|
601
603
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
602
604
|
|
|
603
605
|
```ts fileName="vite.config.ts"
|
|
@@ -607,7 +609,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
607
609
|
export default defineConfig({
|
|
608
610
|
plugins: [
|
|
609
611
|
intlayer(),
|
|
610
|
-
intlayerCompiler(), //
|
|
612
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
611
613
|
],
|
|
612
614
|
});
|
|
613
615
|
```
|
|
@@ -706,6 +706,8 @@ bun x intlayer extract
|
|
|
706
706
|
</Tab>
|
|
707
707
|
<Tab value='Kompilator Babel'>
|
|
708
708
|
|
|
709
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
710
|
+
|
|
709
711
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
710
712
|
|
|
711
713
|
```ts fileName="vite.config.ts"
|
|
@@ -715,7 +717,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
715
717
|
export default defineConfig({
|
|
716
718
|
plugins: [
|
|
717
719
|
intlayer(),
|
|
718
|
-
intlayerCompiler(), //
|
|
720
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
719
721
|
],
|
|
720
722
|
});
|
|
721
723
|
```
|
|
@@ -173,7 +173,13 @@ const config: StorybookConfig = {
|
|
|
173
173
|
} as const;
|
|
174
174
|
|
|
175
175
|
const viteConfig = defineConfig(() => ({
|
|
176
|
-
plugins: [
|
|
176
|
+
plugins: [
|
|
177
|
+
intlayer({
|
|
178
|
+
proxy: {
|
|
179
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
180
|
+
},
|
|
181
|
+
}),
|
|
182
|
+
],
|
|
177
183
|
}));
|
|
178
184
|
|
|
179
185
|
return mergeConfig(baseConfig, viteConfig(env));
|
|
@@ -597,14 +597,17 @@ Aby dodać backend proxy do swojej aplikacji SvelteKit, możesz użyć funkcji `
|
|
|
597
597
|
|
|
598
598
|
```ts fileName="vite.config.ts"
|
|
599
599
|
import { defineConfig } from "vite";
|
|
600
|
-
import { intlayer
|
|
600
|
+
import { intlayer } from "vite-intlayer";
|
|
601
601
|
import { sveltekit } from "@sveltejs/kit/vite";
|
|
602
602
|
|
|
603
603
|
// https://vitejs.dev/config/
|
|
604
604
|
export default defineConfig({
|
|
605
605
|
plugins: [
|
|
606
|
-
|
|
607
|
-
|
|
606
|
+
intlayer({
|
|
607
|
+
proxy: {
|
|
608
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
609
|
+
},
|
|
610
|
+
}),
|
|
608
611
|
sveltekit(),
|
|
609
612
|
],],
|
|
610
613
|
});
|
|
@@ -702,6 +705,8 @@ bun x intlayer extract
|
|
|
702
705
|
</Tab>
|
|
703
706
|
<Tab value='Kompilator Babel'>
|
|
704
707
|
|
|
708
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
709
|
+
|
|
705
710
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
706
711
|
|
|
707
712
|
```ts fileName="vite.config.ts"
|
|
@@ -711,7 +716,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
711
716
|
export default defineConfig({
|
|
712
717
|
plugins: [
|
|
713
718
|
intlayer(),
|
|
714
|
-
intlayerCompiler(), //
|
|
719
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
715
720
|
],
|
|
716
721
|
});
|
|
717
722
|
```
|
|
@@ -210,11 +210,15 @@ export default defineConfig({
|
|
|
210
210
|
tanstackStart({
|
|
211
211
|
router: {
|
|
212
212
|
routeFileIgnorePattern:
|
|
213
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
213
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
214
214
|
},
|
|
215
215
|
}),
|
|
216
216
|
solidPlugin({ ssr: true }),
|
|
217
|
-
intlayer(
|
|
217
|
+
intlayer({
|
|
218
|
+
proxy: {
|
|
219
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
220
|
+
},
|
|
221
|
+
}),
|
|
218
222
|
],
|
|
219
223
|
});
|
|
220
224
|
```
|
|
@@ -550,22 +554,25 @@ Możesz również użyć `intlayerProxy`, aby dodać routing po stronie serwera
|
|
|
550
554
|
|
|
551
555
|
> Zauważ, że aby korzystać z `intlayerProxy` w środowisku produkcyjnym, musisz przenieść pakiet `vite-intlayer` z `devDependencies` do `dependencies`.
|
|
552
556
|
|
|
553
|
-
```typescript
|
|
557
|
+
```typescript fileName="vite.config.ts"
|
|
554
558
|
import { tanstackStart } from "@tanstack/solid-start/plugin/vite";
|
|
555
559
|
import solid from "vite-plugin-solid";
|
|
556
560
|
import { nitro } from "nitro/vite";
|
|
557
561
|
import { defineConfig } from "vite";
|
|
558
|
-
import { intlayer
|
|
562
|
+
import { intlayer } from "vite-intlayer";
|
|
559
563
|
|
|
560
564
|
export default defineConfig({
|
|
561
565
|
plugins: [
|
|
562
|
-
intlayerProxy(), // Proxy powinno być umieszczone przed serwerem, jeśli używasz Nitro
|
|
563
566
|
nitro(),
|
|
564
|
-
intlayer(
|
|
567
|
+
intlayer({
|
|
568
|
+
proxy: {
|
|
569
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
570
|
+
},
|
|
571
|
+
}),
|
|
565
572
|
tanstackStart({
|
|
566
573
|
router: {
|
|
567
574
|
routeFileIgnorePattern:
|
|
568
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
575
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
569
576
|
},
|
|
570
577
|
}),
|
|
571
578
|
solid(),
|
|
@@ -808,6 +815,8 @@ bun x intlayer extract
|
|
|
808
815
|
</Tab>
|
|
809
816
|
<Tab value='Kompilator Babel'>
|
|
810
817
|
|
|
818
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
819
|
+
|
|
811
820
|
Zaktualizuj swoje `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
812
821
|
|
|
813
822
|
```ts fileName="vite.config.ts"
|
|
@@ -823,12 +832,12 @@ export default defineConfig({
|
|
|
823
832
|
tanstackStart({
|
|
824
833
|
router: {
|
|
825
834
|
routeFileIgnorePattern:
|
|
826
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
835
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
827
836
|
},
|
|
828
837
|
}),
|
|
829
838
|
solidPlugin({ ssr: true }),
|
|
830
839
|
intlayer(),
|
|
831
|
-
intlayerCompiler(),
|
|
840
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
832
841
|
],
|
|
833
842
|
});
|
|
834
843
|
```
|
|
@@ -224,11 +224,15 @@ import { intlayer } from "vite-intlayer";
|
|
|
224
224
|
const config = defineConfig({
|
|
225
225
|
plugins: [
|
|
226
226
|
nitro(),
|
|
227
|
-
intlayer(
|
|
227
|
+
intlayer({
|
|
228
|
+
proxy: {
|
|
229
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
230
|
+
},
|
|
231
|
+
}),
|
|
228
232
|
tanstackStart({
|
|
229
233
|
router: {
|
|
230
234
|
routeFileIgnorePattern:
|
|
231
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
235
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
232
236
|
},
|
|
233
237
|
}),
|
|
234
238
|
viteReact(),
|
|
@@ -632,22 +636,25 @@ Możesz również użyć `intlayerProxy`, aby dodać routing po stronie serwera
|
|
|
632
636
|
|
|
633
637
|
> Uwaga: aby używać `intlayerProxy` w produkcji, musisz przenieść pakiet `vite-intlayer` z `devDependencies` do `dependencies`.
|
|
634
638
|
|
|
635
|
-
```typescript
|
|
639
|
+
```typescript fileName="vite.config.ts"
|
|
636
640
|
import { tanstackStart } from "@tanstack/react-start/plugin/vite";
|
|
637
641
|
import viteReact from "@vitejs/plugin-react";
|
|
638
642
|
import { nitro } from "nitro/vite";
|
|
639
643
|
import { defineConfig } from "vite";
|
|
640
|
-
import { intlayer
|
|
644
|
+
import { intlayer } from "vite-intlayer";
|
|
641
645
|
|
|
642
646
|
export default defineConfig({
|
|
643
647
|
plugins: [
|
|
644
|
-
intlayerProxy(), // Proxy powinno być umieszczone przed serwerem, jeśli używasz Nitro
|
|
645
648
|
nitro(),
|
|
646
|
-
intlayer(
|
|
649
|
+
intlayer({
|
|
650
|
+
proxy: {
|
|
651
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
652
|
+
},
|
|
653
|
+
}),
|
|
647
654
|
tanstackStart({
|
|
648
655
|
router: {
|
|
649
656
|
routeFileIgnorePattern:
|
|
650
|
-
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
|
|
657
|
+
".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
|
|
651
658
|
},
|
|
652
659
|
}),
|
|
653
660
|
viteReact(),
|
|
@@ -908,6 +915,8 @@ bun x intlayer extract
|
|
|
908
915
|
</Tab>
|
|
909
916
|
<Tab value='Kompilator Babel'>
|
|
910
917
|
|
|
918
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
919
|
+
|
|
911
920
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
912
921
|
|
|
913
922
|
```ts fileName="vite.config.ts"
|
|
@@ -917,7 +926,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
917
926
|
export default defineConfig({
|
|
918
927
|
plugins: [
|
|
919
928
|
intlayer(),
|
|
920
|
-
intlayerCompiler(), //
|
|
929
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
921
930
|
],
|
|
922
931
|
});
|
|
923
932
|
```
|
|
@@ -188,7 +188,13 @@ import { intlayer } from "vite-intlayer";
|
|
|
188
188
|
|
|
189
189
|
// https://vitejs.dev/config/
|
|
190
190
|
export default defineConfig({
|
|
191
|
-
plugins: [
|
|
191
|
+
plugins: [
|
|
192
|
+
intlayer({
|
|
193
|
+
proxy: {
|
|
194
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
195
|
+
},
|
|
196
|
+
}),
|
|
197
|
+
],
|
|
192
198
|
});
|
|
193
199
|
```
|
|
194
200
|
|
|
@@ -457,7 +463,7 @@ Najpierw dodaj `intlayerProxy` do konfiguracji Vite:
|
|
|
457
463
|
|
|
458
464
|
```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
459
465
|
import { defineConfig } from "vite";
|
|
460
|
-
import { intlayer
|
|
466
|
+
import { intlayer } from "vite-intlayer";
|
|
461
467
|
|
|
462
468
|
export default defineConfig({
|
|
463
469
|
plugins: [intlayer(), intlayerProxy()],
|
|
@@ -813,6 +813,8 @@ bun x intlayer extract
|
|
|
813
813
|
</Tab>
|
|
814
814
|
<Tab value='Kompilator Babel'>
|
|
815
815
|
|
|
816
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
817
|
+
|
|
816
818
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
817
819
|
|
|
818
820
|
```ts fileName="vite.config.ts"
|
|
@@ -822,7 +824,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
822
824
|
export default defineConfig({
|
|
823
825
|
plugins: [
|
|
824
826
|
intlayer(),
|
|
825
|
-
intlayerCompiler(), //
|
|
827
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
826
828
|
],
|
|
827
829
|
});
|
|
828
830
|
```
|
|
@@ -498,14 +498,17 @@ Równolegle możesz również użyć `intlayerProxy`, aby dodać routing po stro
|
|
|
498
498
|
```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
499
499
|
import { defineConfig } from "vite";
|
|
500
500
|
import react from "@vitejs/plugin-react-swc";
|
|
501
|
-
import { intlayer
|
|
501
|
+
import { intlayer } from "vite-intlayer";
|
|
502
502
|
|
|
503
503
|
// https://vitejs.dev/config/
|
|
504
504
|
export default defineConfig({
|
|
505
505
|
plugins: [
|
|
506
|
-
intlayerProxy(), // should be placed first
|
|
507
506
|
react(),
|
|
508
|
-
intlayer(
|
|
507
|
+
intlayer({
|
|
508
|
+
proxy: {
|
|
509
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
510
|
+
},
|
|
511
|
+
}),
|
|
509
512
|
],
|
|
510
513
|
});
|
|
511
514
|
```
|
|
@@ -809,6 +812,8 @@ bun x intlayer extract
|
|
|
809
812
|
</Tab>
|
|
810
813
|
<Tab value='Kompilator Babel'>
|
|
811
814
|
|
|
815
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
816
|
+
|
|
812
817
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
813
818
|
|
|
814
819
|
```ts fileName="vite.config.ts"
|
|
@@ -818,7 +823,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
818
823
|
export default defineConfig({
|
|
819
824
|
plugins: [
|
|
820
825
|
intlayer(),
|
|
821
|
-
intlayerCompiler(), //
|
|
826
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
822
827
|
],
|
|
823
828
|
});
|
|
824
829
|
```
|
|
@@ -213,11 +213,18 @@ Dodaj wtyczkę intlayer do swojej konfiguracji.
|
|
|
213
213
|
```typescript fileName="vite.config.ts"
|
|
214
214
|
import { defineConfig } from "vite";
|
|
215
215
|
import react from "@vitejs/plugin-react-swc";
|
|
216
|
-
import { intlayer
|
|
216
|
+
import { intlayer } from "vite-intlayer";
|
|
217
217
|
|
|
218
218
|
// https://vitejs.dev/config/
|
|
219
219
|
export default defineConfig({
|
|
220
|
-
plugins: [
|
|
220
|
+
plugins: [
|
|
221
|
+
react(),
|
|
222
|
+
intlayer({
|
|
223
|
+
proxy: {
|
|
224
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
225
|
+
},
|
|
226
|
+
}),
|
|
227
|
+
],
|
|
221
228
|
});
|
|
222
229
|
```
|
|
223
230
|
|
|
@@ -579,6 +579,8 @@ bun x intlayer extract
|
|
|
579
579
|
</Tab>
|
|
580
580
|
<Tab value='Kompilator Babel'>
|
|
581
581
|
|
|
582
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
583
|
+
|
|
582
584
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
583
585
|
|
|
584
586
|
```ts fileName="vite.config.ts"
|
|
@@ -588,7 +590,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
588
590
|
export default defineConfig({
|
|
589
591
|
plugins: [
|
|
590
592
|
intlayer(),
|
|
591
|
-
intlayerCompiler(), //
|
|
593
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
592
594
|
],
|
|
593
595
|
});
|
|
594
596
|
```
|
|
@@ -442,7 +442,7 @@ Równolegle możesz również użyć `intlayerProxy`, aby dodać routing po stro
|
|
|
442
442
|
```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
443
443
|
import { defineConfig } from "vite";
|
|
444
444
|
import { svelte } from "@sveltejs/vite-plugin-svelte";
|
|
445
|
-
import { intlayer
|
|
445
|
+
import { intlayer } from "vite-intlayer";
|
|
446
446
|
|
|
447
447
|
plugins: [intlayerProxy(), // should be placed first
|
|
448
448
|
svelte(), intlayer()],
|
|
@@ -552,6 +552,8 @@ bun x intlayer extract
|
|
|
552
552
|
</Tab>
|
|
553
553
|
<Tab value='Kompilator Babel'>
|
|
554
554
|
|
|
555
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
556
|
+
|
|
555
557
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
556
558
|
|
|
557
559
|
```ts fileName="vite.config.ts"
|
|
@@ -561,7 +563,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
561
563
|
export default defineConfig({
|
|
562
564
|
plugins: [
|
|
563
565
|
intlayer(),
|
|
564
|
-
intlayerCompiler(), //
|
|
566
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
565
567
|
],
|
|
566
568
|
});
|
|
567
569
|
```
|
|
@@ -188,7 +188,13 @@ import { intlayer } from "vite-intlayer";
|
|
|
188
188
|
|
|
189
189
|
// https://vitejs.dev/config/
|
|
190
190
|
export default defineConfig({
|
|
191
|
-
plugins: [
|
|
191
|
+
plugins: [
|
|
192
|
+
intlayer({
|
|
193
|
+
proxy: {
|
|
194
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
195
|
+
},
|
|
196
|
+
}),
|
|
197
|
+
],
|
|
192
198
|
});
|
|
193
199
|
```
|
|
194
200
|
|
|
@@ -449,12 +455,15 @@ Najpierw dodaj `intlayerProxy` do konfiguracji Vite:
|
|
|
449
455
|
|
|
450
456
|
```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
451
457
|
import { defineConfig } from "vite";
|
|
452
|
-
import { intlayer
|
|
458
|
+
import { intlayer } from "vite-intlayer";
|
|
453
459
|
|
|
454
460
|
export default defineConfig({
|
|
455
461
|
plugins: [
|
|
456
|
-
|
|
457
|
-
|
|
462
|
+
intlayer({
|
|
463
|
+
proxy: {
|
|
464
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
465
|
+
},
|
|
466
|
+
}),
|
|
458
467
|
],
|
|
459
468
|
});
|
|
460
469
|
```
|
|
@@ -586,6 +595,8 @@ bun x intlayer extract
|
|
|
586
595
|
</Tab>
|
|
587
596
|
<Tab value='Kompilator Babel'>
|
|
588
597
|
|
|
598
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
599
|
+
|
|
589
600
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
590
601
|
|
|
591
602
|
```ts fileName="vite.config.ts"
|
|
@@ -595,7 +606,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
595
606
|
export default defineConfig({
|
|
596
607
|
plugins: [
|
|
597
608
|
intlayer(),
|
|
598
|
-
intlayerCompiler(), //
|
|
609
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
599
610
|
],
|
|
600
611
|
});
|
|
601
612
|
```
|
|
@@ -624,14 +624,17 @@ Równolegle możesz również użyć `intlayerProxy`, aby dodać routowanie po s
|
|
|
624
624
|
```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
|
|
625
625
|
import { defineConfig } from "vite";
|
|
626
626
|
import vue from "@vitejs/plugin-vue";
|
|
627
|
-
import { intlayer
|
|
627
|
+
import { intlayer } from "vite-intlayer";
|
|
628
628
|
|
|
629
629
|
// https://vitejs.dev/config/
|
|
630
630
|
export default defineConfig({
|
|
631
631
|
plugins: [
|
|
632
|
-
intlayerProxy(), // should be placed first
|
|
633
632
|
vue(),
|
|
634
|
-
intlayer(
|
|
633
|
+
intlayer({
|
|
634
|
+
proxy: {
|
|
635
|
+
ignore: (req) => req.url?.startsWith("/api"),
|
|
636
|
+
},
|
|
637
|
+
}),
|
|
635
638
|
],
|
|
636
639
|
});
|
|
637
640
|
```
|
|
@@ -1006,6 +1009,8 @@ bun x intlayer extract
|
|
|
1006
1009
|
</Tab>
|
|
1007
1010
|
<Tab value='Kompilator Babel'>
|
|
1008
1011
|
|
|
1012
|
+
> Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
|
|
1013
|
+
|
|
1009
1014
|
Zaktualizuj `vite.config.ts`, aby dołączyć wtyczkę `intlayerCompiler`:
|
|
1010
1015
|
|
|
1011
1016
|
```ts fileName="vite.config.ts"
|
|
@@ -1015,7 +1020,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
|
|
|
1015
1020
|
export default defineConfig({
|
|
1016
1021
|
plugins: [
|
|
1017
1022
|
intlayer(),
|
|
1018
|
-
intlayerCompiler(), //
|
|
1023
|
+
intlayerCompiler(), // Adds the compiler plugin
|
|
1019
1024
|
],
|
|
1020
1025
|
});
|
|
1021
1026
|
```
|