@intlayer/docs 8.4.10 → 8.5.1

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.
Files changed (382) hide show
  1. package/dist/cjs/generated/docs.entry.cjs +40 -0
  2. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  3. package/dist/esm/generated/docs.entry.mjs +40 -0
  4. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  5. package/dist/types/generated/docs.entry.d.ts +2 -0
  6. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  7. package/docs/ar/dictionary/html.md +32 -25
  8. package/docs/ar/dictionary/markdown.md +33 -35
  9. package/docs/ar/intlayer_with_analog.md +10 -27
  10. package/docs/ar/intlayer_with_angular.md +1 -12
  11. package/docs/ar/intlayer_with_nextjs_14.md +1 -1
  12. package/docs/ar/intlayer_with_nextjs_page_router.md +1 -1
  13. package/docs/ar/intlayer_with_react_router_v7.md +6 -1
  14. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +6 -1
  15. package/docs/ar/intlayer_with_storybook.md +2 -5
  16. package/docs/ar/intlayer_with_svelte_kit.md +9 -5
  17. package/docs/ar/intlayer_with_vite+lit.md +689 -0
  18. package/docs/ar/intlayer_with_vite+react.md +16 -4
  19. package/docs/ar/intlayer_with_vite+solid.md +1 -1
  20. package/docs/ar/intlayer_with_vite+svelte.md +13 -6
  21. package/docs/ar/intlayer_with_vite+vanilla.md +722 -0
  22. package/docs/ar/intlayer_with_vite+vue.md +24 -8
  23. package/docs/ar/packages/react-intlayer/MarkdownRenderer.md +1 -1
  24. package/docs/ar/packages/svelte-intlayer/useRewriteURL.md +1 -1
  25. package/docs/ar/releases/v8.md +27 -27
  26. package/docs/bn/intlayer_with_storybook.md +2 -5
  27. package/docs/bn/intlayer_with_vite+lit.md +689 -0
  28. package/docs/bn/intlayer_with_vite+vanilla.md +722 -0
  29. package/docs/cs/intlayer_with_storybook.md +2 -5
  30. package/docs/cs/intlayer_with_vite+lit.md +689 -0
  31. package/docs/cs/intlayer_with_vite+vanilla.md +722 -0
  32. package/docs/de/compiler.md +6 -1
  33. package/docs/de/configuration.md +12 -9
  34. package/docs/de/dictionary/html.md +151 -26
  35. package/docs/de/dictionary/markdown.md +154 -42
  36. package/docs/de/intlayer_with_analog.md +10 -27
  37. package/docs/de/intlayer_with_angular.md +1 -12
  38. package/docs/de/intlayer_with_nextjs_14.md +1 -1
  39. package/docs/de/intlayer_with_nextjs_page_router.md +1 -1
  40. package/docs/de/intlayer_with_react_router_v7.md +6 -1
  41. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +6 -1
  42. package/docs/de/intlayer_with_storybook.md +2 -5
  43. package/docs/de/intlayer_with_svelte_kit.md +9 -5
  44. package/docs/de/intlayer_with_vite+lit.md +698 -0
  45. package/docs/de/intlayer_with_vite+react.md +16 -4
  46. package/docs/de/intlayer_with_vite+solid.md +1 -1
  47. package/docs/de/intlayer_with_vite+svelte.md +19 -6
  48. package/docs/de/intlayer_with_vite+vanilla.md +722 -0
  49. package/docs/de/intlayer_with_vite+vue.md +24 -8
  50. package/docs/de/packages/react-intlayer/MarkdownRenderer.md +1 -1
  51. package/docs/de/packages/svelte-intlayer/useRewriteURL.md +1 -1
  52. package/docs/de/releases/v8.md +27 -27
  53. package/docs/en/compiler.md +6 -1
  54. package/docs/en/configuration.md +12 -9
  55. package/docs/en/dictionary/html.md +152 -27
  56. package/docs/en/dictionary/markdown.md +154 -38
  57. package/docs/en/intlayer_with_analog.md +10 -27
  58. package/docs/en/intlayer_with_angular.md +1 -12
  59. package/docs/en/intlayer_with_nextjs_14.md +1 -1
  60. package/docs/en/intlayer_with_nextjs_16.md +12 -3
  61. package/docs/en/intlayer_with_nextjs_compiler.md +16 -4
  62. package/docs/en/intlayer_with_nextjs_page_router.md +1 -1
  63. package/docs/en/intlayer_with_react_router_v7.md +17 -4
  64. package/docs/en/intlayer_with_react_router_v7_fs_routes.md +18 -4
  65. package/docs/en/intlayer_with_storybook.md +2 -5
  66. package/docs/en/intlayer_with_svelte_kit.md +21 -8
  67. package/docs/en/intlayer_with_tanstack.md +12 -3
  68. package/docs/en/intlayer_with_vite+lit.md +703 -0
  69. package/docs/en/intlayer_with_vite+preact.md +31 -3
  70. package/docs/en/intlayer_with_vite+react.md +28 -7
  71. package/docs/en/intlayer_with_vite+react_compiler.md +4 -1
  72. package/docs/en/intlayer_with_vite+solid.md +31 -3
  73. package/docs/en/intlayer_with_vite+svelte.md +30 -9
  74. package/docs/en/intlayer_with_vite+vanilla.md +725 -0
  75. package/docs/en/intlayer_with_vite+vue.md +41 -10
  76. package/docs/en/packages/react-intlayer/MarkdownRenderer.md +1 -1
  77. package/docs/en/packages/svelte-intlayer/useRewriteURL.md +1 -1
  78. package/docs/en/readme.md +1 -0
  79. package/docs/en/releases/v8.md +27 -27
  80. package/docs/en-GB/compiler.md +4 -1
  81. package/docs/en-GB/configuration.md +4 -1
  82. package/docs/en-GB/dictionary/html.md +32 -25
  83. package/docs/en-GB/dictionary/markdown.md +34 -36
  84. package/docs/en-GB/intlayer_with_analog.md +10 -27
  85. package/docs/en-GB/intlayer_with_angular.md +1 -12
  86. package/docs/en-GB/intlayer_with_nextjs_14.md +1 -1
  87. package/docs/en-GB/intlayer_with_nextjs_page_router.md +1 -1
  88. package/docs/en-GB/intlayer_with_react_router_v7.md +6 -1
  89. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +6 -1
  90. package/docs/en-GB/intlayer_with_storybook.md +2 -5
  91. package/docs/en-GB/intlayer_with_svelte_kit.md +9 -5
  92. package/docs/en-GB/intlayer_with_vite+lit.md +703 -0
  93. package/docs/en-GB/intlayer_with_vite+react.md +15 -3
  94. package/docs/en-GB/intlayer_with_vite+solid.md +1 -1
  95. package/docs/en-GB/intlayer_with_vite+svelte.md +17 -5
  96. package/docs/en-GB/intlayer_with_vite+vanilla.md +725 -0
  97. package/docs/en-GB/intlayer_with_vite+vue.md +19 -7
  98. package/docs/en-GB/packages/react-intlayer/MarkdownRenderer.md +1 -1
  99. package/docs/en-GB/packages/svelte-intlayer/useRewriteURL.md +1 -1
  100. package/docs/en-GB/releases/v8.md +27 -27
  101. package/docs/es/compiler.md +6 -1
  102. package/docs/es/configuration.md +12 -9
  103. package/docs/es/dictionary/html.md +152 -27
  104. package/docs/es/dictionary/markdown.md +155 -43
  105. package/docs/es/intlayer_with_analog.md +10 -27
  106. package/docs/es/intlayer_with_angular.md +1 -12
  107. package/docs/es/intlayer_with_nextjs_14.md +1 -1
  108. package/docs/es/intlayer_with_nextjs_page_router.md +1 -1
  109. package/docs/es/intlayer_with_react_router_v7.md +6 -1
  110. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +6 -1
  111. package/docs/es/intlayer_with_storybook.md +2 -5
  112. package/docs/es/intlayer_with_svelte_kit.md +9 -5
  113. package/docs/es/intlayer_with_vite+lit.md +698 -0
  114. package/docs/es/intlayer_with_vite+react.md +16 -4
  115. package/docs/es/intlayer_with_vite+solid.md +1 -1
  116. package/docs/es/intlayer_with_vite+svelte.md +16 -6
  117. package/docs/es/intlayer_with_vite+vanilla.md +722 -0
  118. package/docs/es/intlayer_with_vite+vue.md +24 -8
  119. package/docs/es/packages/react-intlayer/MarkdownRenderer.md +1 -1
  120. package/docs/es/packages/svelte-intlayer/useRewriteURL.md +1 -1
  121. package/docs/es/releases/v8.md +27 -27
  122. package/docs/fr/compiler.md +8 -3
  123. package/docs/fr/configuration.md +12 -9
  124. package/docs/fr/dictionary/html.md +151 -26
  125. package/docs/fr/dictionary/markdown.md +155 -43
  126. package/docs/fr/intlayer_with_analog.md +10 -27
  127. package/docs/fr/intlayer_with_angular.md +1 -12
  128. package/docs/fr/intlayer_with_nextjs_14.md +1 -1
  129. package/docs/fr/intlayer_with_nextjs_page_router.md +1 -1
  130. package/docs/fr/intlayer_with_react_router_v7.md +6 -1
  131. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +6 -1
  132. package/docs/fr/intlayer_with_storybook.md +2 -5
  133. package/docs/fr/intlayer_with_svelte_kit.md +9 -5
  134. package/docs/fr/intlayer_with_vite+lit.md +698 -0
  135. package/docs/fr/intlayer_with_vite+react.md +16 -4
  136. package/docs/fr/intlayer_with_vite+solid.md +1 -1
  137. package/docs/fr/intlayer_with_vite+svelte.md +19 -6
  138. package/docs/fr/intlayer_with_vite+vanilla.md +722 -0
  139. package/docs/fr/intlayer_with_vite+vue.md +24 -8
  140. package/docs/fr/packages/react-intlayer/MarkdownRenderer.md +1 -1
  141. package/docs/fr/packages/svelte-intlayer/useRewriteURL.md +1 -1
  142. package/docs/fr/releases/v8.md +27 -27
  143. package/docs/hi/dictionary/html.md +32 -25
  144. package/docs/hi/dictionary/markdown.md +35 -37
  145. package/docs/hi/intlayer_with_analog.md +10 -27
  146. package/docs/hi/intlayer_with_angular.md +1 -12
  147. package/docs/hi/intlayer_with_nextjs_14.md +1 -1
  148. package/docs/hi/intlayer_with_nextjs_page_router.md +1 -1
  149. package/docs/hi/intlayer_with_react_router_v7.md +6 -1
  150. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +6 -1
  151. package/docs/hi/intlayer_with_storybook.md +2 -5
  152. package/docs/hi/intlayer_with_svelte_kit.md +9 -5
  153. package/docs/hi/intlayer_with_vite+lit.md +689 -0
  154. package/docs/hi/intlayer_with_vite+react.md +16 -4
  155. package/docs/hi/intlayer_with_vite+solid.md +1 -1
  156. package/docs/hi/intlayer_with_vite+svelte.md +13 -6
  157. package/docs/hi/intlayer_with_vite+vanilla.md +722 -0
  158. package/docs/hi/intlayer_with_vite+vue.md +24 -8
  159. package/docs/hi/packages/react-intlayer/MarkdownRenderer.md +1 -1
  160. package/docs/hi/packages/svelte-intlayer/useRewriteURL.md +1 -1
  161. package/docs/hi/releases/v8.md +27 -27
  162. package/docs/id/dictionary/html.md +32 -25
  163. package/docs/id/dictionary/markdown.md +35 -37
  164. package/docs/id/intlayer_with_analog.md +10 -27
  165. package/docs/id/intlayer_with_angular.md +1 -12
  166. package/docs/id/intlayer_with_nextjs_14.md +1 -1
  167. package/docs/id/intlayer_with_nextjs_page_router.md +1 -1
  168. package/docs/id/intlayer_with_react_router_v7.md +6 -1
  169. package/docs/id/intlayer_with_react_router_v7_fs_routes.md +6 -1
  170. package/docs/id/intlayer_with_storybook.md +2 -5
  171. package/docs/id/intlayer_with_svelte_kit.md +9 -5
  172. package/docs/id/intlayer_with_vite+lit.md +689 -0
  173. package/docs/id/intlayer_with_vite+react.md +16 -4
  174. package/docs/id/intlayer_with_vite+solid.md +1 -1
  175. package/docs/id/intlayer_with_vite+svelte.md +13 -6
  176. package/docs/id/intlayer_with_vite+vanilla.md +722 -0
  177. package/docs/id/intlayer_with_vite+vue.md +19 -7
  178. package/docs/id/packages/react-intlayer/MarkdownRenderer.md +1 -1
  179. package/docs/id/packages/svelte-intlayer/useRewriteURL.md +1 -1
  180. package/docs/id/releases/v8.md +27 -27
  181. package/docs/it/compiler.md +8 -3
  182. package/docs/it/configuration.md +12 -9
  183. package/docs/it/dictionary/html.md +151 -26
  184. package/docs/it/dictionary/markdown.md +155 -39
  185. package/docs/it/intlayer_with_analog.md +10 -27
  186. package/docs/it/intlayer_with_angular.md +1 -12
  187. package/docs/it/intlayer_with_nextjs_14.md +1 -1
  188. package/docs/it/intlayer_with_nextjs_page_router.md +1 -1
  189. package/docs/it/intlayer_with_react_router_v7.md +6 -1
  190. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +6 -1
  191. package/docs/it/intlayer_with_storybook.md +2 -5
  192. package/docs/it/intlayer_with_svelte_kit.md +9 -5
  193. package/docs/it/intlayer_with_vite+lit.md +698 -0
  194. package/docs/it/intlayer_with_vite+react.md +16 -4
  195. package/docs/it/intlayer_with_vite+solid.md +1 -1
  196. package/docs/it/intlayer_with_vite+svelte.md +13 -6
  197. package/docs/it/intlayer_with_vite+vanilla.md +722 -0
  198. package/docs/it/intlayer_with_vite+vue.md +24 -8
  199. package/docs/it/packages/react-intlayer/MarkdownRenderer.md +1 -1
  200. package/docs/it/packages/svelte-intlayer/useRewriteURL.md +1 -1
  201. package/docs/it/releases/v8.md +27 -27
  202. package/docs/ja/dictionary/html.md +153 -29
  203. package/docs/ja/dictionary/markdown.md +154 -42
  204. package/docs/ja/intlayer_with_analog.md +10 -27
  205. package/docs/ja/intlayer_with_angular.md +1 -12
  206. package/docs/ja/intlayer_with_nextjs_14.md +1 -1
  207. package/docs/ja/intlayer_with_nextjs_page_router.md +1 -1
  208. package/docs/ja/intlayer_with_react_router_v7.md +6 -1
  209. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +6 -1
  210. package/docs/ja/intlayer_with_storybook.md +2 -5
  211. package/docs/ja/intlayer_with_vite+lit.md +698 -0
  212. package/docs/ja/intlayer_with_vite+solid.md +1 -1
  213. package/docs/ja/intlayer_with_vite+svelte.md +13 -6
  214. package/docs/ja/intlayer_with_vite+vanilla.md +722 -0
  215. package/docs/ja/intlayer_with_vite+vue.md +24 -8
  216. package/docs/ja/packages/react-intlayer/MarkdownRenderer.md +1 -1
  217. package/docs/ja/packages/svelte-intlayer/useRewriteURL.md +1 -1
  218. package/docs/ja/releases/v8.md +27 -27
  219. package/docs/ko/dictionary/html.md +154 -30
  220. package/docs/ko/dictionary/markdown.md +155 -43
  221. package/docs/ko/intlayer_with_analog.md +10 -27
  222. package/docs/ko/intlayer_with_angular.md +1 -12
  223. package/docs/ko/intlayer_with_nextjs_14.md +1 -1
  224. package/docs/ko/intlayer_with_nextjs_page_router.md +1 -1
  225. package/docs/ko/intlayer_with_react_router_v7.md +6 -1
  226. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +6 -1
  227. package/docs/ko/intlayer_with_storybook.md +2 -5
  228. package/docs/ko/intlayer_with_svelte_kit.md +9 -5
  229. package/docs/ko/intlayer_with_vite+lit.md +698 -0
  230. package/docs/ko/intlayer_with_vite+react.md +16 -4
  231. package/docs/ko/intlayer_with_vite+solid.md +1 -1
  232. package/docs/ko/intlayer_with_vite+svelte.md +13 -6
  233. package/docs/ko/intlayer_with_vite+vanilla.md +722 -0
  234. package/docs/ko/intlayer_with_vite+vue.md +24 -8
  235. package/docs/ko/packages/react-intlayer/MarkdownRenderer.md +1 -1
  236. package/docs/ko/packages/svelte-intlayer/useRewriteURL.md +1 -1
  237. package/docs/ko/releases/v8.md +27 -27
  238. package/docs/nl/intlayer_with_storybook.md +2 -5
  239. package/docs/nl/intlayer_with_vite+lit.md +689 -0
  240. package/docs/nl/intlayer_with_vite+vanilla.md +722 -0
  241. package/docs/pl/dictionary/html.md +151 -26
  242. package/docs/pl/dictionary/markdown.md +155 -43
  243. package/docs/pl/intlayer_with_analog.md +10 -27
  244. package/docs/pl/intlayer_with_angular.md +1 -12
  245. package/docs/pl/intlayer_with_nextjs_14.md +1 -1
  246. package/docs/pl/intlayer_with_nextjs_page_router.md +1 -1
  247. package/docs/pl/intlayer_with_react_router_v7.md +6 -1
  248. package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +6 -1
  249. package/docs/pl/intlayer_with_storybook.md +2 -5
  250. package/docs/pl/intlayer_with_svelte_kit.md +9 -5
  251. package/docs/pl/intlayer_with_vite+lit.md +689 -0
  252. package/docs/pl/intlayer_with_vite+react.md +16 -4
  253. package/docs/pl/intlayer_with_vite+solid.md +1 -1
  254. package/docs/pl/intlayer_with_vite+svelte.md +13 -6
  255. package/docs/pl/intlayer_with_vite+vanilla.md +722 -0
  256. package/docs/pl/intlayer_with_vite+vue.md +19 -7
  257. package/docs/pl/packages/react-intlayer/MarkdownRenderer.md +1 -1
  258. package/docs/pl/packages/svelte-intlayer/useRewriteURL.md +1 -1
  259. package/docs/pl/releases/v8.md +27 -27
  260. package/docs/pt/compiler.md +7 -2
  261. package/docs/pt/configuration.md +11 -9
  262. package/docs/pt/dictionary/html.md +132 -26
  263. package/docs/pt/dictionary/markdown.md +155 -43
  264. package/docs/pt/intlayer_with_analog.md +10 -27
  265. package/docs/pt/intlayer_with_angular.md +1 -12
  266. package/docs/pt/intlayer_with_nextjs_14.md +1 -1
  267. package/docs/pt/intlayer_with_nextjs_page_router.md +1 -1
  268. package/docs/pt/intlayer_with_react_router_v7.md +6 -1
  269. package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +6 -1
  270. package/docs/pt/intlayer_with_storybook.md +2 -5
  271. package/docs/pt/intlayer_with_svelte_kit.md +9 -5
  272. package/docs/pt/intlayer_with_vite+lit.md +698 -0
  273. package/docs/pt/intlayer_with_vite+react.md +16 -4
  274. package/docs/pt/intlayer_with_vite+solid.md +1 -1
  275. package/docs/pt/intlayer_with_vite+svelte.md +16 -6
  276. package/docs/pt/intlayer_with_vite+vanilla.md +722 -0
  277. package/docs/pt/intlayer_with_vite+vue.md +24 -8
  278. package/docs/pt/packages/react-intlayer/MarkdownRenderer.md +1 -1
  279. package/docs/pt/packages/svelte-intlayer/useRewriteURL.md +1 -1
  280. package/docs/pt/releases/v8.md +27 -27
  281. package/docs/ru/dictionary/html.md +153 -29
  282. package/docs/ru/dictionary/markdown.md +155 -41
  283. package/docs/ru/intlayer_with_analog.md +10 -27
  284. package/docs/ru/intlayer_with_angular.md +1 -12
  285. package/docs/ru/intlayer_with_nextjs_14.md +1 -1
  286. package/docs/ru/intlayer_with_nextjs_page_router.md +1 -1
  287. package/docs/ru/intlayer_with_react_router_v7.md +6 -1
  288. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +6 -1
  289. package/docs/ru/intlayer_with_storybook.md +2 -5
  290. package/docs/ru/intlayer_with_svelte_kit.md +9 -5
  291. package/docs/ru/intlayer_with_vite+lit.md +698 -0
  292. package/docs/ru/intlayer_with_vite+react.md +16 -4
  293. package/docs/ru/intlayer_with_vite+solid.md +1 -1
  294. package/docs/ru/intlayer_with_vite+svelte.md +13 -6
  295. package/docs/ru/intlayer_with_vite+vanilla.md +722 -0
  296. package/docs/ru/intlayer_with_vite+vue.md +24 -8
  297. package/docs/ru/packages/react-intlayer/MarkdownRenderer.md +1 -1
  298. package/docs/ru/packages/svelte-intlayer/useRewriteURL.md +1 -1
  299. package/docs/ru/releases/v8.md +27 -27
  300. package/docs/tr/dictionary/html.md +134 -29
  301. package/docs/tr/dictionary/markdown.md +155 -41
  302. package/docs/tr/intlayer_with_analog.md +10 -27
  303. package/docs/tr/intlayer_with_angular.md +1 -12
  304. package/docs/tr/intlayer_with_nextjs_14.md +1 -1
  305. package/docs/tr/intlayer_with_nextjs_page_router.md +1 -1
  306. package/docs/tr/intlayer_with_react_router_v7.md +6 -1
  307. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +6 -1
  308. package/docs/tr/intlayer_with_storybook.md +2 -5
  309. package/docs/tr/intlayer_with_svelte_kit.md +9 -5
  310. package/docs/tr/intlayer_with_vite+lit.md +689 -0
  311. package/docs/tr/intlayer_with_vite+react.md +16 -4
  312. package/docs/tr/intlayer_with_vite+solid.md +1 -1
  313. package/docs/tr/intlayer_with_vite+svelte.md +13 -6
  314. package/docs/tr/intlayer_with_vite+vanilla.md +722 -0
  315. package/docs/tr/intlayer_with_vite+vue.md +19 -7
  316. package/docs/tr/packages/react-intlayer/MarkdownRenderer.md +1 -1
  317. package/docs/tr/packages/svelte-intlayer/useRewriteURL.md +1 -1
  318. package/docs/tr/releases/v8.md +27 -27
  319. package/docs/uk/dictionary/html.md +32 -25
  320. package/docs/uk/dictionary/markdown.md +35 -37
  321. package/docs/uk/intlayer_with_analog.md +10 -27
  322. package/docs/uk/intlayer_with_angular.md +1 -12
  323. package/docs/uk/intlayer_with_nextjs_14.md +1 -1
  324. package/docs/uk/intlayer_with_nextjs_page_router.md +1 -1
  325. package/docs/uk/intlayer_with_react_router_v7.md +5 -1
  326. package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +6 -1
  327. package/docs/uk/intlayer_with_storybook.md +2 -5
  328. package/docs/uk/intlayer_with_svelte_kit.md +9 -5
  329. package/docs/uk/intlayer_with_vite+lit.md +689 -0
  330. package/docs/uk/intlayer_with_vite+react.md +16 -4
  331. package/docs/uk/intlayer_with_vite+solid.md +1 -1
  332. package/docs/uk/intlayer_with_vite+svelte.md +18 -6
  333. package/docs/uk/intlayer_with_vite+vanilla.md +722 -0
  334. package/docs/uk/intlayer_with_vite+vue.md +19 -7
  335. package/docs/uk/packages/react-intlayer/MarkdownRenderer.md +1 -1
  336. package/docs/uk/packages/svelte-intlayer/useRewriteURL.md +1 -1
  337. package/docs/uk/releases/v8.md +27 -27
  338. package/docs/ur/intlayer_with_storybook.md +2 -5
  339. package/docs/ur/intlayer_with_vite+lit.md +689 -0
  340. package/docs/ur/intlayer_with_vite+vanilla.md +722 -0
  341. package/docs/vi/dictionary/html.md +32 -25
  342. package/docs/vi/dictionary/markdown.md +35 -37
  343. package/docs/vi/intlayer_with_analog.md +10 -27
  344. package/docs/vi/intlayer_with_angular.md +1 -12
  345. package/docs/vi/intlayer_with_nextjs_14.md +1 -1
  346. package/docs/vi/intlayer_with_nextjs_page_router.md +1 -1
  347. package/docs/vi/intlayer_with_react_router_v7.md +6 -1
  348. package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +6 -1
  349. package/docs/vi/intlayer_with_storybook.md +2 -5
  350. package/docs/vi/intlayer_with_svelte_kit.md +9 -5
  351. package/docs/vi/intlayer_with_vite+lit.md +689 -0
  352. package/docs/vi/intlayer_with_vite+react.md +16 -4
  353. package/docs/vi/intlayer_with_vite+solid.md +1 -1
  354. package/docs/vi/intlayer_with_vite+svelte.md +17 -5
  355. package/docs/vi/intlayer_with_vite+vanilla.md +722 -0
  356. package/docs/vi/intlayer_with_vite+vue.md +19 -7
  357. package/docs/vi/packages/react-intlayer/MarkdownRenderer.md +1 -1
  358. package/docs/vi/packages/svelte-intlayer/useRewriteURL.md +1 -1
  359. package/docs/vi/releases/v8.md +27 -27
  360. package/docs/zh/compiler.md +8 -3
  361. package/docs/zh/configuration.md +4 -1
  362. package/docs/zh/dictionary/html.md +153 -29
  363. package/docs/zh/dictionary/markdown.md +155 -39
  364. package/docs/zh/intlayer_with_analog.md +10 -27
  365. package/docs/zh/intlayer_with_angular.md +1 -12
  366. package/docs/zh/intlayer_with_nextjs_14.md +1 -1
  367. package/docs/zh/intlayer_with_nextjs_page_router.md +1 -1
  368. package/docs/zh/intlayer_with_react_router_v7.md +6 -1
  369. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +6 -1
  370. package/docs/zh/intlayer_with_storybook.md +2 -5
  371. package/docs/zh/intlayer_with_svelte_kit.md +9 -5
  372. package/docs/zh/intlayer_with_vite+lit.md +698 -0
  373. package/docs/zh/intlayer_with_vite+react.md +16 -4
  374. package/docs/zh/intlayer_with_vite+solid.md +1 -1
  375. package/docs/zh/intlayer_with_vite+svelte.md +16 -6
  376. package/docs/zh/intlayer_with_vite+vanilla.md +722 -0
  377. package/docs/zh/intlayer_with_vite+vue.md +19 -7
  378. package/docs/zh/packages/react-intlayer/MarkdownRenderer.md +1 -1
  379. package/docs/zh/packages/svelte-intlayer/useRewriteURL.md +1 -1
  380. package/docs/zh/releases/v8.md +27 -27
  381. package/package.json +6 -6
  382. package/src/generated/docs.entry.ts +40 -0
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  createdAt: 2025-04-18
3
- updatedAt: 2025-12-30
3
+ updatedAt: 2026-03-24
4
4
  title: Vite + Vue i18n - How to translate an Vue app in 2026
5
5
  description: Discover how to make your Vite and Vue website multilingual. Follow the documentation to internationalize (i18n) and translate it.
6
6
  keywords:
@@ -17,6 +17,9 @@ slugs:
17
17
  applicationTemplate: https://github.com/aymericzip/intlayer-vite-vue-template
18
18
  youtubeVideo: https://www.youtube.com/watch?v=IE3XWkZ6a5U
19
19
  history:
20
+ - version: 8.5.0
21
+ date: 2026-03-24
22
+ changes: Change installIntlayer by use(intlayer)
20
23
  - version: 7.5.9
21
24
  date: 2025-12-30
22
25
  changes: "Add init command"
@@ -404,19 +407,26 @@ To utilize Intlayer's internationalization features throughout your Vue applicat
404
407
 
405
408
  ```javascript fileName=main.js
406
409
  import { createApp } from "vue";
407
- import { installIntlayer } from "vue-intlayer";
410
+ import { intlayer } from "vue-intlayer";
408
411
  import App from "./App.vue";
409
412
  import "./style.css";
410
413
 
411
414
  const app = createApp(App);
412
415
 
413
416
  // Inject the provider at the top level
414
- installIntlayer(app);
417
+ app.use(intlayer);
415
418
 
416
419
  // Mount the app
417
420
  app.mount("#app");
418
421
  ```
419
422
 
423
+ > You can also call `installIntlayer(app)` directly as a function if you prefer:
424
+ >
425
+ > ```javascript
426
+ > import { intlayer } from "vue-intlayer";
427
+ > app.use(intlayer);
428
+ > ```
429
+
420
430
  Access your content dictionaries throughout your application by creating a main Vue component and using the `useIntlayer` composables:
421
431
 
422
432
  ```vue fileName="src/HelloWord.vue"
@@ -592,7 +602,7 @@ import {
592
602
  localeFlatMap,
593
603
  type Locale,
594
604
  } from 'intlayer';
595
- import { createIntlayerClient } from 'vue-intlayer';
605
+ import { createIntlayerClient } from "vue-intlayer";
596
606
  import { createRouter, createWebHistory } from 'vue-router';
597
607
  import HomeView from './views/home/HomeView.vue';
598
608
  import RootView from './views/root/Root.vue';
@@ -682,7 +692,11 @@ import { intlayer, intlayerProxy } from "vite-intlayer";
682
692
 
683
693
  // https://vitejs.dev/config/
684
694
  export default defineConfig({
685
- plugins: [vue(), intlayer(), intlayerProxy()],
695
+ plugins: [
696
+ intlayerProxy(), // should be placed first
697
+ vue(),
698
+ intlayer(),
699
+ ],
686
700
  });
687
701
  ```
688
702
 
@@ -693,7 +707,11 @@ import { intlayer, intlayerProxy } from "vite-intlayer";
693
707
 
694
708
  // https://vitejs.dev/config/
695
709
  export default defineConfig({
696
- plugins: [vue(), intlayer(), intlayerProxy()],
710
+ plugins: [
711
+ intlayerProxy(), // should be placed first
712
+ vue(),
713
+ intlayer(),
714
+ ],
697
715
  });
698
716
  ```
699
717
 
@@ -704,7 +722,11 @@ const { intlayer, intlayerProxy } = require("vite-intlayer");
704
722
 
705
723
  // https://vitejs.dev/config/
706
724
  module.exports = defineConfig({
707
- plugins: [vue(), intlayer(), intlayerProxy()],
725
+ plugins: [
726
+ intlayerProxy(), // should be placed first
727
+ vue(),
728
+ intlayer(),
729
+ ],
708
730
  });
709
731
  ```
710
732
 
@@ -983,7 +1005,10 @@ const config: IntlayerConfig = {
983
1005
 
984
1006
  /**
985
1007
  * Indicates if the components should be saved after being transformed.
986
- * That way, the compiler can be run only once to transform the app, and then it can be removed.
1008
+ *
1009
+ * - If `true`, the compiler will rewrite the component file in the disk. So the transformation will be permanent, and the compiler will skip the transformation for the next process. That way, the compiler can transform the app, and then it can be removed.
1010
+ *
1011
+ * - If `false`, the compiler will inject the `useIntlayer()` function call into the code in the build output only, and keep the base codebase intact. The transformation will be done only in memory.
987
1012
  */
988
1013
  saveComponents: false,
989
1014
 
@@ -1014,7 +1039,10 @@ const config = {
1014
1039
 
1015
1040
  /**
1016
1041
  * Indicates if the components should be saved after being transformed.
1017
- * That way, the compiler can be run only once to transform the app, and then it can be removed.
1042
+ *
1043
+ * - If `true`, the compiler will rewrite the component file in the disk. So the transformation will be permanent, and the compiler will skip the transformation for the next process. That way, the compiler can transform the app, and then it can be removed.
1044
+ *
1045
+ * - If `false`, the compiler will inject the `useIntlayer()` function call into the code in the build output only, and keep the base codebase intact. The transformation will be done only in memory.
1018
1046
  */
1019
1047
  saveComponents: false,
1020
1048
 
@@ -1045,7 +1073,10 @@ const config = {
1045
1073
 
1046
1074
  /**
1047
1075
  * Indicates if the components should be saved after being transformed.
1048
- * That way, the compiler can be run only once to transform the app, and then it can be removed.
1076
+ *
1077
+ * - If `true`, the compiler will rewrite the component file in the disk. So the transformation will be permanent, and the compiler will skip the transformation for the next process. That way, the compiler can transform the app, and then it can be removed.
1078
+ *
1079
+ * - If `false`, the compiler will inject the `useIntlayer()` function call into the code in the build output only, and keep the base codebase intact. The transformation will be done only in memory.
1049
1080
  */
1050
1081
  saveComponents: false,
1051
1082
 
@@ -28,7 +28,7 @@ The `MarkdownRenderer` component renders markdown content with custom components
28
28
  ## Usage
29
29
 
30
30
  ```tsx
31
- import { MarkdownRenderer } from "react-intlayer";
31
+ import { MarkdownRenderer } from "react-intlayer/markdown";
32
32
 
33
33
  const MyComponent = () => (
34
34
  <MarkdownRenderer># My Title My content</MarkdownRenderer>
@@ -29,7 +29,7 @@ Call the hook within a Svelte component.
29
29
 
30
30
  ```svelte
31
31
  <script>
32
- import { useRewriteURL } from 'svelte-intlayer';
32
+ import { useRewriteURL } from "svelte-intlayer";
33
33
 
34
34
  // Automatically correct /fr/tests to /fr/essais in the address bar if a rewrite rule exists
35
35
  useRewriteURL();
package/docs/en/readme.md CHANGED
@@ -197,6 +197,7 @@ Explore our comprehensive documentation to get started with Intlayer and learn h
197
197
  <li><a href="https://intlayer.org/doc/environment/vite-and-vue" rel=''>Vite + Vue</a></li>
198
198
  <li><a href="https://intlayer.org/doc/environment/vite-and-nuxt" rel=''>Vite + Nuxt</a></li>
199
199
  <li><a href="https://intlayer.org/doc/environment/vite-and-solid" rel=''>Vite + Solid</a></li>
200
+ <li><a href="https://intlayer.org/doc/environment/vite-and-lit" rel=''>Vite + Lit</a></li>
200
201
  <li><a href="https://intlayer.org/doc/environment/angular" rel=''>Angular</a></li>
201
202
  <li>
202
203
  <a href="https://intlayer.org/doc/environment/express" rel=''>Backend</a>
@@ -69,7 +69,7 @@ We have introduced new standalone renderer functions and components to give you
69
69
  **1. Using the Component:**
70
70
 
71
71
  ```tsx
72
- import { MarkdownRenderer } from "react-intlayer";
72
+ import { MarkdownRenderer } from "react-intlayer/markdown";
73
73
 
74
74
  <MarkdownRenderer
75
75
  forceBlock={true}
@@ -84,7 +84,7 @@ We have introduced new standalone renderer functions and components to give you
84
84
  **2. Using the Hook:**
85
85
 
86
86
  ```tsx
87
- import { useMarkdownRenderer } from "react-intlayer";
87
+ import { useMarkdownRenderer } from "react-intlayer/markdown";
88
88
 
89
89
  const renderMarkdown = useMarkdownRenderer({
90
90
  components: {
@@ -98,7 +98,7 @@ We have introduced new standalone renderer functions and components to give you
98
98
  **3. Using the Utility Function:**
99
99
 
100
100
  ```tsx
101
- import { renderMarkdown } from "react-intlayer";
101
+ import { renderMarkdown } from "react-intlayer/markdown";
102
102
 
103
103
  const html = renderMarkdown("# My Title", {
104
104
  forceBlock: true
@@ -112,7 +112,7 @@ We have introduced new standalone renderer functions and components to give you
112
112
 
113
113
  ```vue
114
114
  <script setup>
115
- import { MarkdownRenderer } from "vue-intlayer";
115
+ import { MarkdownRenderer } from "vue-intlayer/markdown";
116
116
  </script>
117
117
 
118
118
  <template>
@@ -127,7 +127,7 @@ We have introduced new standalone renderer functions and components to give you
127
127
 
128
128
  ```svelte
129
129
  <script>
130
- import { MarkdownRenderer } from "svelte-intlayer";
130
+ import { MarkdownRenderer } from "svelte-intlayer/markdown";
131
131
  </script>
132
132
 
133
133
  <MarkdownRenderer forceBlock={true} value="# My Title" />
@@ -137,7 +137,7 @@ We have introduced new standalone renderer functions and components to give you
137
137
 
138
138
  ```svelte
139
139
  <script>
140
- import { useMarkdownRenderer } from "svelte-intlayer";
140
+ import { useMarkdownRenderer } from "svelte-intlayer/markdown";
141
141
  const render = useMarkdownRenderer();
142
142
  </script>
143
143
 
@@ -148,7 +148,7 @@ We have introduced new standalone renderer functions and components to give you
148
148
 
149
149
  ```svelte
150
150
  <script>
151
- import { renderMarkdown } from "svelte-intlayer";
151
+ import { renderMarkdown } from "svelte-intlayer/markdown";
152
152
  </script>
153
153
 
154
154
  {@html renderMarkdown("# My Title")}
@@ -179,7 +179,7 @@ We have introduced new standalone renderer functions and components to give you
179
179
  **1. Using the Component:**
180
180
 
181
181
  ```tsx
182
- import { MarkdownRenderer } from "solid-intlayer";
182
+ import { MarkdownRenderer } from "solid-intlayer/markdown";
183
183
 
184
184
  <MarkdownRenderer forceBlock={true}>
185
185
  {"# My Title"}
@@ -189,7 +189,7 @@ We have introduced new standalone renderer functions and components to give you
189
189
  **2. Using the Hook:**
190
190
 
191
191
  ```tsx
192
- import { useMarkdownRenderer } from "solid-intlayer";
192
+ import { useMarkdownRenderer } from "solid-intlayer/markdown";
193
193
 
194
194
  const render = useMarkdownRenderer();
195
195
 
@@ -199,7 +199,7 @@ We have introduced new standalone renderer functions and components to give you
199
199
  **3. Using the Utility Function:**
200
200
 
201
201
  ```tsx
202
- import { renderMarkdown } from "solid-intlayer";
202
+ import { renderMarkdown } from "solid-intlayer/markdown";
203
203
 
204
204
  return <div>{renderMarkdown("# My Title")}</div>;
205
205
  ```
@@ -210,7 +210,7 @@ We have introduced new standalone renderer functions and components to give you
210
210
  **1. Using the Component:**
211
211
 
212
212
  ```tsx
213
- import { MarkdownRenderer } from "preact-intlayer";
213
+ import { MarkdownRenderer } from "preact-intlayer/markdown";
214
214
 
215
215
  <MarkdownRenderer forceBlock={true}>
216
216
  {"# My Title"}
@@ -220,7 +220,7 @@ We have introduced new standalone renderer functions and components to give you
220
220
  **2. Using the Hook:**
221
221
 
222
222
  ```tsx
223
- import { useMarkdownRenderer } from "preact-intlayer";
223
+ import { useMarkdownRenderer } from "preact-intlayer/markdown";
224
224
 
225
225
  const render = useMarkdownRenderer();
226
226
 
@@ -230,7 +230,7 @@ We have introduced new standalone renderer functions and components to give you
230
230
  **3. Using the Utility Function:**
231
231
 
232
232
  ```tsx
233
- import { renderMarkdown } from "preact-intlayer";
233
+ import { renderMarkdown } from "preact-intlayer/markdown";
234
234
 
235
235
  return <div>{renderMarkdown("# My Title")}</div>;
236
236
  ```
@@ -246,7 +246,7 @@ We have introduced new standalone renderer functions and components to give you
246
246
  **1. Using the Component:**
247
247
 
248
248
  ```tsx
249
- import { HTMLRenderer } from "react-intlayer";
249
+ import { HTMLRenderer } from "react-intlayer/html";
250
250
 
251
251
  <HTMLRenderer
252
252
  components={{
@@ -260,7 +260,7 @@ We have introduced new standalone renderer functions and components to give you
260
260
  **2. Using the Hook:**
261
261
 
262
262
  ```tsx
263
- import { useHTMLRenderer } from "react-intlayer";
263
+ import { useHTMLRenderer } from "react-intlayer/html";
264
264
 
265
265
  const renderHTML = useHTMLRenderer({
266
266
  components: {
@@ -274,7 +274,7 @@ We have introduced new standalone renderer functions and components to give you
274
274
  **3. Using the Utility Function:**
275
275
 
276
276
  ```tsx
277
- import { renderHTML } from "react-intlayer";
277
+ import { renderHTML } from "react-intlayer/html";
278
278
 
279
279
  const html = renderHTML("<p>Hello World</p>");
280
280
  ```
@@ -286,7 +286,7 @@ We have introduced new standalone renderer functions and components to give you
286
286
 
287
287
  ```vue
288
288
  <script setup>
289
- import { HTMLRenderer } from "vue-intlayer";
289
+ import { HTMLRenderer } from "vue-intlayer/html";
290
290
  </script>
291
291
 
292
292
  <template>
@@ -301,7 +301,7 @@ We have introduced new standalone renderer functions and components to give you
301
301
 
302
302
  ```svelte
303
303
  <script>
304
- import { HTMLRenderer } from "svelte-intlayer";
304
+ import { HTMLRenderer } from "svelte-intlayer/html";
305
305
  </script>
306
306
 
307
307
  <HTMLRenderer value="<p>Hello World</p>" />
@@ -311,7 +311,7 @@ We have introduced new standalone renderer functions and components to give you
311
311
 
312
312
  ```svelte
313
313
  <script>
314
- import { useHTMLRenderer } from "svelte-intlayer";
314
+ import { useHTMLRenderer } from "svelte-intlayer/html";
315
315
  const render = useHTMLRenderer();
316
316
  </script>
317
317
 
@@ -322,7 +322,7 @@ We have introduced new standalone renderer functions and components to give you
322
322
 
323
323
  ```svelte
324
324
  <script>
325
- import { renderHTML } from "svelte-intlayer";
325
+ import { renderHTML } from "svelte-intlayer/html";
326
326
  </script>
327
327
 
328
328
  {@html renderHTML("<p>Hello World</p>")}
@@ -345,7 +345,7 @@ We have introduced new standalone renderer functions and components to give you
345
345
  **1. Using the Component:**
346
346
 
347
347
  ```tsx
348
- import { HTMLRenderer } from "solid-intlayer";
348
+ import { HTMLRenderer } from "solid-intlayer/html";
349
349
 
350
350
  <HTMLRenderer>
351
351
  {"<p>Hello World</p>"}
@@ -355,7 +355,7 @@ We have introduced new standalone renderer functions and components to give you
355
355
  **2. Using the Hook:**
356
356
 
357
357
  ```tsx
358
- import { useHTMLRenderer } from "solid-intlayer";
358
+ import { useHTMLRenderer } from "solid-intlayer/html";
359
359
 
360
360
  const render = useHTMLRenderer();
361
361
 
@@ -365,7 +365,7 @@ We have introduced new standalone renderer functions and components to give you
365
365
  **3. Using the Utility Function:**
366
366
 
367
367
  ```tsx
368
- import { renderHTML } from "solid-intlayer";
368
+ import { renderHTML } from "solid-intlayer/html";
369
369
 
370
370
  return <div>{renderHTML("<p>Hello World</p>")}</div>;
371
371
  ```
@@ -376,7 +376,7 @@ We have introduced new standalone renderer functions and components to give you
376
376
  **1. Using the Component:**
377
377
 
378
378
  ```tsx
379
- import { HTMLRenderer } from "preact-intlayer";
379
+ import { HTMLRenderer } from "preact-intlayer/html";
380
380
 
381
381
  <HTMLRenderer>
382
382
  {"<p>Hello World</p>"}
@@ -386,7 +386,7 @@ We have introduced new standalone renderer functions and components to give you
386
386
  **2. Using the Hook:**
387
387
 
388
388
  ```tsx
389
- import { useHTMLRenderer } from "preact-intlayer";
389
+ import { useHTMLRenderer } from "preact-intlayer/html";
390
390
 
391
391
  const render = useHTMLRenderer();
392
392
 
@@ -396,7 +396,7 @@ We have introduced new standalone renderer functions and components to give you
396
396
  **3. Using the Utility Function:**
397
397
 
398
398
  ```tsx
399
- import { renderHTML } from "preact-intlayer";
399
+ import { renderHTML } from "preact-intlayer/html";
400
400
 
401
401
  return <div>{renderHTML("<p>Hello World</p>")}</div>;
402
402
  ```
@@ -1032,7 +1032,7 @@ Intlayer v8 includes a new caching layer for the Markdown and HTML compiler. Thi
1032
1032
 
1033
1033
  ```typescript fileName="vite.config.js"
1034
1034
  import { defineConfig } from 'vite';
1035
- import {intlayer, intlayerCompiler} from 'vite-intlayer';
1035
+ import { intlayer, intlayerCompiler } from "vite-intlayer";
1036
1036
 
1037
1037
  export default defineConfig({
1038
1038
  plugins: [intlayer(), intlayerCompiler()],
@@ -208,7 +208,10 @@ const config: IntlayerConfig = {
208
208
 
209
209
  /**
210
210
  * Indicates if the components should be saved after being transformed.
211
- * That way, the compiler can be run only once to transform the app, and then it can be removed.
211
+ *
212
+ * - If `true`, the compiler will rewrite the component file in the disk. So the transformation will be permanent, and the compiler will skip the transformation for the next process. That way, the compiler can transform the app, and then it can be removed.
213
+ *
214
+ * - If `false`, the compiler will inject the `useIntlayer()` function call into the code in the build output only, and keep the base codebase intact. The transformation will be done only in memory.
212
215
  */
213
216
  saveComponents: false,
214
217
 
@@ -518,7 +518,10 @@ const config: IntlayerConfig = {
518
518
 
519
519
  /**
520
520
  * Indicates if the components should be saved after being transformed.
521
- * That way, the compiler can be run only once to transform the app, and then it can be removed.
521
+ *
522
+ * - If `true`, the compiler will rewrite the component file in the disk. So the transformation will be permanent, and the compiler will skip the transformation for the next process. That way, the compiler can transform the app, and then it can be removed.
523
+ *
524
+ * - If `false`, the compiler will inject the `useIntlayer()` function call into the code in the build output only, and keep the base codebase intact. The transformation will be done only in memory.
522
525
  */
523
526
  saveComponents: false,
524
527
 
@@ -19,6 +19,12 @@ slugs:
19
19
  - content
20
20
  - html
21
21
  history:
22
+ - version: 8.5.0
23
+ date: 2026-03-24
24
+ changes: "Add `intlayerHTML` plugin object; use `app.use(intlayerHTML)` instead of `app.use(installIntlayerHTML)`"
25
+ - version: 8.5.0
26
+ date: 2026-03-24
27
+ changes: "move import from `{{framework}}-intlayer` to `{{framework}}-intlayer/html`"
22
28
  - version: 8.0.0
23
29
  date: 2026-01-22
24
30
  changes: "Add HTMLRenderer / useHTMLRenderer / renderHTML utility"
@@ -241,7 +247,7 @@ You can configure HTML rendering globally for your entire application. This is i
241
247
  <Tab label="React / Next.js" value="react">
242
248
 
243
249
  ```tsx fileName="AppProvider.tsx"
244
- import { HTMLProvider } from "react-intlayer";
250
+ import { HTMLProvider } from "react-intlayer/html";
245
251
 
246
252
  export const AppProvider = ({ children }) => (
247
253
  <HTMLProvider
@@ -260,13 +266,14 @@ You can configure HTML rendering globally for your entire application. This is i
260
266
 
261
267
  ```typescript fileName="main.ts"
262
268
  import { createApp, h } from "vue";
263
- import { installIntlayer, installIntlayerHTML } from "vue-intlayer";
269
+ import { intlayer } from "vue-intlayer";
270
+ import { intlayerHTML } from "vue-intlayer/html";
264
271
  import App from "./App.vue";
265
272
 
266
273
  const app = createApp(App);
267
274
 
268
- app.use(installIntlayer);
269
- app.use(installIntlayerHTML, {
275
+ app.use(intlayer);
276
+ app.use(intlayerHTML, {
270
277
  components: {
271
278
  p: (props, { slots }) => h("p", { class: "prose", ...props }, slots.default?.()),
272
279
  CustomLink: (props, { slots }) => h("a", { href: "/details", ...props }, slots.default?.()),
@@ -281,7 +288,7 @@ You can configure HTML rendering globally for your entire application. This is i
281
288
 
282
289
  ```svelte fileName="App.svelte"
283
290
  <script lang="ts">
284
- import { HTMLProvider } from "svelte-intlayer";
291
+ import { HTMLProvider } from "svelte-intlayer/html";
285
292
  import MyCustomP from "./MyCustomP.svelte";
286
293
  </script>
287
294
 
@@ -298,7 +305,7 @@ You can configure HTML rendering globally for your entire application. This is i
298
305
  <Tab label="Preact" value="preact">
299
306
 
300
307
  ```tsx fileName="AppProvider.tsx"
301
- import { HTMLProvider } from "preact-intlayer";
308
+ import { HTMLProvider } from "preact-intlayer/html";
302
309
 
303
310
  export const AppProvider = ({ children }) => (
304
311
  <HTMLProvider
@@ -315,7 +322,7 @@ You can configure HTML rendering globally for your entire application. This is i
315
322
  <Tab label="Solid" value="solid">
316
323
 
317
324
  ```tsx fileName="AppProvider.tsx"
318
- import { HTMLProvider } from "solid-intlayer";
325
+ import { HTMLProvider } from "solid-intlayer/html";
319
326
 
320
327
  export const AppProvider = (props) => (
321
328
  <HTMLProvider
@@ -332,11 +339,11 @@ You can configure HTML rendering globally for your entire application. This is i
332
339
  <Tab label="Angular" value="angular">
333
340
 
334
341
  ```typescript fileName="app.config.ts"
335
- import { createIntlayerMarkdownProvider } from "angular-intlayer";
342
+ import { createIntlayerHTMLProvider } from "angular-intlayer/html";
336
343
 
337
344
  export const appConfig: ApplicationConfig = {
338
345
  providers: [
339
- createIntlayerMarkdownProvider({
346
+ createIntlayerHTMLProvider({
340
347
  components: {
341
348
  p: { class: "prose" },
342
349
  CustomLink: { href: "/details" },
@@ -361,7 +368,7 @@ If you need to render raw HTML strings or have more control over the component m
361
368
  Render an HTML string with specific components.
362
369
 
363
370
  ```tsx
364
- import { HTMLRenderer } from "react-intlayer";
371
+ import { HTMLRenderer } from "react-intlayer/html";
365
372
 
366
373
  <HTMLRenderer components={{ p: MyCustomP }}>
367
374
  {"<p>Hello World</p>"}
@@ -373,7 +380,7 @@ If you need to render raw HTML strings or have more control over the component m
373
380
  Get a pre-configured renderer function.
374
381
 
375
382
  ```tsx
376
- import { useHTMLRenderer } from "react-intlayer";
383
+ import { useHTMLRenderer } from "react-intlayer/html";
377
384
 
378
385
  const renderHTML = useHTMLRenderer({
379
386
  components: { strong: (props) => <strong {...props} className="text-red-500" /> }
@@ -387,7 +394,7 @@ If you need to render raw HTML strings or have more control over the component m
387
394
  Standalone utility for rendering outside of components.
388
395
 
389
396
  ```tsx
390
- import { renderHTML } from "react-intlayer";
397
+ import { renderHTML } from "react-intlayer/html";
391
398
 
392
399
  const jsx = renderHTML("<p>Hello</p>", { components: { p: 'div' } });
393
400
  ```
@@ -399,7 +406,7 @@ If you need to render raw HTML strings or have more control over the component m
399
406
 
400
407
  ```vue
401
408
  <script setup>
402
- import { HTMLRenderer } from "vue-intlayer";
409
+ import { HTMLRenderer } from "vue-intlayer/html";
403
410
  </script>
404
411
 
405
412
  <template>
@@ -414,7 +421,7 @@ If you need to render raw HTML strings or have more control over the component m
414
421
 
415
422
  ```svelte
416
423
  <script lang="ts">
417
- import { HTMLRenderer } from "svelte-intlayer";
424
+ import { HTMLRenderer } from "svelte-intlayer/html";
418
425
  </script>
419
426
 
420
427
  <HTMLRenderer value="<p>Hello World</p>" />
@@ -424,7 +431,7 @@ If you need to render raw HTML strings or have more control over the component m
424
431
 
425
432
  ```svelte
426
433
  <script lang="ts">
427
- import { useHTMLRenderer } from "svelte-intlayer";
434
+ import { useHTMLRenderer } from "svelte-intlayer/html";
428
435
  const render = useHTMLRenderer();
429
436
  </script>
430
437
 
@@ -435,7 +442,7 @@ If you need to render raw HTML strings or have more control over the component m
435
442
 
436
443
  ```svelte
437
444
  <script lang="ts">
438
- import { renderHTML } from "svelte-intlayer";
445
+ import { renderHTML } from "svelte-intlayer/html";
439
446
  </script>
440
447
 
441
448
  {@html renderHTML("<p>Hello World</p>")}
@@ -447,7 +454,7 @@ If you need to render raw HTML strings or have more control over the component m
447
454
  #### `<HTMLRenderer />` Component
448
455
 
449
456
  ```tsx
450
- import { HTMLRenderer } from "preact-intlayer";
457
+ import { HTMLRenderer } from "preact-intlayer/html";
451
458
 
452
459
  <HTMLRenderer>
453
460
  {"<p>Hello World</p>"}
@@ -457,7 +464,7 @@ If you need to render raw HTML strings or have more control over the component m
457
464
  #### `useHTMLRenderer()` Hook
458
465
 
459
466
  ```tsx
460
- import { useHTMLRenderer } from "preact-intlayer";
467
+ import { useHTMLRenderer } from "preact-intlayer/html";
461
468
 
462
469
  const render = useHTMLRenderer();
463
470
 
@@ -467,7 +474,7 @@ If you need to render raw HTML strings or have more control over the component m
467
474
  #### `renderHTML()` Utility
468
475
 
469
476
  ```tsx
470
- import { renderHTML } from "preact-intlayer";
477
+ import { renderHTML } from "preact-intlayer/html";
471
478
 
472
479
  return <div>{renderHTML("<p>Hello World</p>")}</div>;
473
480
  ```
@@ -478,7 +485,7 @@ If you need to render raw HTML strings or have more control over the component m
478
485
  #### `<HTMLRenderer />` Component
479
486
 
480
487
  ```tsx
481
- import { HTMLRenderer } from "solid-intlayer";
488
+ import { HTMLRenderer } from "solid-intlayer/html";
482
489
 
483
490
  <HTMLRenderer>
484
491
  {"<p>Hello World</p>"}
@@ -488,7 +495,7 @@ If you need to render raw HTML strings or have more control over the component m
488
495
  #### `useHTMLRenderer()` Hook
489
496
 
490
497
  ```tsx
491
- import { useHTMLRenderer } from "solid-intlayer";
498
+ import { useHTMLRenderer } from "solid-intlayer/html";
492
499
 
493
500
  const render = useHTMLRenderer();
494
501
 
@@ -498,21 +505,21 @@ If you need to render raw HTML strings or have more control over the component m
498
505
  #### `renderHTML()` Utility
499
506
 
500
507
  ```tsx
501
- import { renderHTML } from "solid-intlayer";
508
+ import { renderHTML } from "solid-intlayer/html";
502
509
 
503
510
  return <div>{renderHTML("<p>Hello World</p>")}</div>;
504
511
  ```
505
512
 
506
513
  </Tab>
507
514
  <Tab label="Angular" value="angular">
508
- #### `IntlayerMarkdownService` Service
515
+ #### `IntlayerHTMLService` Service
509
516
  Render an HTML string using the service.
510
517
 
511
518
  ```typescript
512
- import { IntlayerMarkdownService } from "angular-intlayer";
519
+ import { IntlayerHTMLService } from "angular-intlayer";
513
520
 
514
521
  export class MyComponent {
515
- constructor(private markdownService: IntlayerMarkdownService) {}
522
+ constructor(private markdownService: IntlayerHTMLService) {}
516
523
 
517
524
  renderHTML(html: string) {
518
525
  return this.markdownService.renderMarkdown(html);