@modern-js/main-doc 0.0.0-next-1678874896224 → 0.0.0-next-1678891119529

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 (828) hide show
  1. package/CHANGELOG.md +3 -3
  2. package/README.md +15 -18
  3. package/docs/en/components/prerequisites.mdx +18 -0
  4. package/docs/en/configure/app/dev/asset-prefix.mdx +13 -0
  5. package/docs/en/configure/app/dev/before-start-url.mdx +13 -0
  6. package/docs/en/configure/app/dev/hmr.mdx +13 -0
  7. package/docs/en/configure/app/dev/host.mdx +13 -0
  8. package/docs/en/configure/app/dev/https.mdx +13 -0
  9. package/docs/en/configure/app/dev/port.mdx +13 -0
  10. package/docs/en/configure/app/dev/progress-bar.mdx +13 -0
  11. package/docs/en/configure/app/dev/start-url.mdx +13 -0
  12. package/docs/en/configure/app/experiments/lazy-compilation.mdx +13 -0
  13. package/docs/en/configure/app/html/app-icon.mdx +13 -0
  14. package/docs/en/configure/app/html/crossorigin.mdx +13 -0
  15. package/docs/en/configure/app/html/disable-html-folder.mdx +13 -0
  16. package/docs/en/configure/app/html/favicon-by-entries.mdx +13 -0
  17. package/docs/en/configure/app/html/favicon.mdx +13 -0
  18. package/docs/en/configure/app/html/inject-by-entries.mdx +13 -0
  19. package/docs/en/configure/app/html/inject.mdx +13 -0
  20. package/docs/en/configure/app/html/meta-by-entries.mdx +13 -0
  21. package/docs/en/configure/app/html/meta.mdx +13 -0
  22. package/docs/en/configure/app/html/mount-id.mdx +13 -0
  23. package/docs/en/configure/app/html/tags-by-entries.mdx +13 -0
  24. package/docs/en/configure/app/html/tags.mdx +13 -0
  25. package/docs/en/configure/app/html/template-by-entries.mdx +13 -0
  26. package/docs/en/configure/app/html/template-parameters-by-entries.mdx +13 -0
  27. package/docs/en/configure/app/html/template-parameters.mdx +13 -0
  28. package/docs/en/configure/app/html/template.mdx +13 -0
  29. package/docs/en/configure/app/html/title-by-entries.mdx +13 -0
  30. package/docs/en/configure/app/html/title.mdx +13 -0
  31. package/docs/en/configure/app/output/asset-prefix.mdx +13 -0
  32. package/docs/en/configure/app/output/assets-retry.mdx +13 -0
  33. package/docs/en/configure/app/output/charset.mdx +13 -0
  34. package/docs/en/configure/app/output/clean-dist-path.mdx +13 -0
  35. package/docs/en/configure/app/output/convert-to-rem.mdx +13 -0
  36. package/docs/en/configure/app/output/copy.mdx +13 -0
  37. package/docs/en/configure/app/output/css-module-local-ident-name.mdx +13 -0
  38. package/docs/en/configure/app/output/data-uri-limit.mdx +13 -0
  39. package/docs/en/configure/app/output/disable-css-extract.mdx +13 -0
  40. package/docs/en/configure/app/output/disable-css-module-extension.mdx +13 -0
  41. package/docs/en/configure/app/output/disable-filename-hash.mdx +13 -0
  42. package/docs/en/configure/app/output/disable-inline-runtime-chunk.mdx +13 -0
  43. package/docs/en/configure/app/output/disable-minimize.mdx +13 -0
  44. package/docs/en/configure/app/output/disable-source-map.mdx +13 -0
  45. package/docs/en/configure/app/output/disable-ts-checker.mdx +13 -0
  46. package/docs/en/configure/app/output/dist-path.mdx +13 -0
  47. package/docs/en/configure/app/output/enable-asset-fallback.mdx +13 -0
  48. package/docs/en/configure/app/output/enable-asset-manifest.mdx +13 -0
  49. package/docs/en/configure/app/output/enable-css-module-tsdeclaration.mdx +13 -0
  50. package/docs/en/configure/app/output/enable-inline-scripts.mdx +13 -0
  51. package/docs/en/configure/app/output/enable-inline-styles.mdx +13 -0
  52. package/docs/en/configure/app/output/enable-latest-decorators.mdx +13 -0
  53. package/docs/en/configure/app/output/externals.mdx +13 -0
  54. package/docs/en/configure/app/output/filename.mdx +13 -0
  55. package/docs/en/configure/app/output/legal-comments.mdx +13 -0
  56. package/docs/en/configure/app/output/override-browserslist.mdx +13 -0
  57. package/docs/en/configure/app/output/polyfill.mdx +13 -0
  58. package/docs/en/configure/app/output/svg-default-export.mdx +13 -0
  59. package/docs/en/configure/app/performance/build-cache.mdx +13 -0
  60. package/docs/en/configure/app/performance/bundle-analyze.mdx +13 -0
  61. package/docs/en/configure/app/performance/chunk-split.mdx +13 -0
  62. package/docs/en/configure/app/performance/print-file-size.mdx +13 -0
  63. package/docs/en/configure/app/performance/profile.mdx +13 -0
  64. package/docs/en/configure/app/performance/remove-console.mdx +13 -0
  65. package/docs/en/configure/app/performance/remove-moment-locale.mdx +13 -0
  66. package/docs/en/configure/app/security/check-syntax.mdx +13 -0
  67. package/docs/en/configure/app/security/sri.mdx +13 -0
  68. package/docs/en/configure/app/source/alias.mdx +13 -0
  69. package/docs/en/configure/app/source/compile-js-data-uri.mdx +13 -0
  70. package/docs/en/configure/app/source/define.mdx +13 -0
  71. package/docs/en/configure/app/source/exclude.mdx +13 -0
  72. package/docs/en/configure/app/source/global-vars.mdx +13 -0
  73. package/docs/en/configure/app/source/include.mdx +13 -0
  74. package/docs/en/configure/app/source/module-scopes.mdx +13 -0
  75. package/docs/en/configure/app/source/pre-entry.mdx +13 -0
  76. package/docs/en/configure/app/source/resolve-extension-prefix.mdx +13 -0
  77. package/docs/en/configure/app/source/resolve-main-fields.mdx +13 -0
  78. package/docs/en/configure/app/tools/autoprefixer.mdx +13 -0
  79. package/docs/en/configure/app/tools/babel.mdx +13 -0
  80. package/docs/en/configure/app/tools/css-extract.mdx +13 -0
  81. package/docs/en/configure/app/tools/css-loader.mdx +13 -0
  82. package/docs/en/configure/app/tools/dev-server.mdx +13 -0
  83. package/docs/en/configure/app/tools/html-plugin.mdx +13 -0
  84. package/docs/en/configure/app/tools/inspector.mdx +13 -0
  85. package/docs/en/configure/app/tools/less.mdx +13 -0
  86. package/docs/en/configure/app/tools/minify-css.mdx +13 -0
  87. package/docs/en/configure/app/tools/postcss.mdx +13 -0
  88. package/docs/en/configure/app/tools/pug.mdx +13 -0
  89. package/docs/en/configure/app/tools/rspack.mdx +13 -0
  90. package/docs/en/configure/app/tools/sass.mdx +13 -0
  91. package/docs/en/configure/app/tools/style-loader.mdx +13 -0
  92. package/docs/en/configure/app/tools/styled-components.mdx +13 -0
  93. package/docs/en/configure/app/tools/terser.mdx +13 -0
  94. package/docs/en/configure/app/tools/ts-checker.mdx +13 -0
  95. package/docs/en/configure/app/tools/ts-loader.mdx +13 -0
  96. package/docs/en/configure/app/tools/webpack-chain.mdx +13 -0
  97. package/docs/en/configure/app/tools/webpack.mdx +13 -0
  98. package/{en → docs/en}/guides/advanced-features/rspack-start.mdx +3 -1
  99. package/{en → docs/en}/guides/get-started/quick-start.mdx +2 -2
  100. package/docs/zh/components/prerequisites.mdx +18 -0
  101. package/docs/zh/configure/app/dev/asset-prefix.mdx +13 -0
  102. package/docs/zh/configure/app/dev/before-start-url.mdx +13 -0
  103. package/docs/zh/configure/app/dev/hmr.mdx +13 -0
  104. package/docs/zh/configure/app/dev/host.mdx +13 -0
  105. package/docs/zh/configure/app/dev/https.mdx +13 -0
  106. package/docs/zh/configure/app/dev/port.mdx +13 -0
  107. package/docs/zh/configure/app/dev/progress-bar.mdx +13 -0
  108. package/docs/zh/configure/app/dev/start-url.mdx +13 -0
  109. package/docs/zh/configure/app/experiments/lazy-compilation.mdx +13 -0
  110. package/docs/zh/configure/app/html/app-icon.mdx +13 -0
  111. package/docs/zh/configure/app/html/crossorigin.mdx +13 -0
  112. package/docs/zh/configure/app/html/disable-html-folder.mdx +13 -0
  113. package/docs/zh/configure/app/html/favicon-by-entries.mdx +13 -0
  114. package/docs/zh/configure/app/html/favicon.mdx +13 -0
  115. package/docs/zh/configure/app/html/inject-by-entries.mdx +13 -0
  116. package/docs/zh/configure/app/html/inject.mdx +13 -0
  117. package/docs/zh/configure/app/html/meta-by-entries.mdx +13 -0
  118. package/docs/zh/configure/app/html/meta.mdx +13 -0
  119. package/docs/zh/configure/app/html/mount-id.mdx +13 -0
  120. package/docs/zh/configure/app/html/tags-by-entries.mdx +13 -0
  121. package/docs/zh/configure/app/html/tags.mdx +13 -0
  122. package/docs/zh/configure/app/html/template-by-entries.mdx +13 -0
  123. package/docs/zh/configure/app/html/template-parameters-by-entries.mdx +13 -0
  124. package/docs/zh/configure/app/html/template-parameters.mdx +13 -0
  125. package/docs/zh/configure/app/html/template.mdx +13 -0
  126. package/docs/zh/configure/app/html/title-by-entries.mdx +13 -0
  127. package/docs/zh/configure/app/html/title.mdx +13 -0
  128. package/docs/zh/configure/app/output/asset-prefix.mdx +13 -0
  129. package/docs/zh/configure/app/output/assets-retry.mdx +13 -0
  130. package/docs/zh/configure/app/output/charset.mdx +13 -0
  131. package/docs/zh/configure/app/output/clean-dist-path.mdx +13 -0
  132. package/docs/zh/configure/app/output/convert-to-rem.mdx +13 -0
  133. package/docs/zh/configure/app/output/copy.mdx +13 -0
  134. package/docs/zh/configure/app/output/css-module-local-ident-name.mdx +13 -0
  135. package/docs/zh/configure/app/output/data-uri-limit.mdx +13 -0
  136. package/docs/zh/configure/app/output/disable-css-extract.mdx +13 -0
  137. package/docs/zh/configure/app/output/disable-css-module-extension.mdx +13 -0
  138. package/docs/zh/configure/app/output/disable-filename-hash.mdx +13 -0
  139. package/docs/zh/configure/app/output/disable-inline-runtime-chunk.mdx +13 -0
  140. package/docs/zh/configure/app/output/disable-minimize.mdx +13 -0
  141. package/docs/zh/configure/app/output/disable-source-map.mdx +13 -0
  142. package/docs/zh/configure/app/output/disable-ts-checker.mdx +13 -0
  143. package/docs/zh/configure/app/output/dist-path.mdx +13 -0
  144. package/docs/zh/configure/app/output/enable-asset-fallback.mdx +13 -0
  145. package/docs/zh/configure/app/output/enable-asset-manifest.mdx +13 -0
  146. package/docs/zh/configure/app/output/enable-css-module-tsdeclaration.mdx +13 -0
  147. package/docs/zh/configure/app/output/enable-inline-scripts.mdx +13 -0
  148. package/docs/zh/configure/app/output/enable-inline-styles.mdx +13 -0
  149. package/docs/zh/configure/app/output/enable-latest-decorators.mdx +13 -0
  150. package/docs/zh/configure/app/output/externals.mdx +13 -0
  151. package/docs/zh/configure/app/output/filename.mdx +13 -0
  152. package/docs/zh/configure/app/output/legal-comments.mdx +13 -0
  153. package/docs/zh/configure/app/output/override-browserslist.mdx +13 -0
  154. package/docs/zh/configure/app/output/polyfill.mdx +13 -0
  155. package/docs/zh/configure/app/output/svg-default-export.mdx +13 -0
  156. package/docs/zh/configure/app/performance/build-cache.mdx +13 -0
  157. package/docs/zh/configure/app/performance/bundle-analyze.mdx +13 -0
  158. package/docs/zh/configure/app/performance/chunk-split.mdx +13 -0
  159. package/docs/zh/configure/app/performance/print-file-size.mdx +13 -0
  160. package/docs/zh/configure/app/performance/profile.mdx +13 -0
  161. package/docs/zh/configure/app/performance/remove-console.mdx +13 -0
  162. package/docs/zh/configure/app/performance/remove-moment-locale.mdx +13 -0
  163. package/docs/zh/configure/app/security/check-syntax.mdx +13 -0
  164. package/docs/zh/configure/app/security/sri.mdx +13 -0
  165. package/docs/zh/configure/app/source/alias.mdx +13 -0
  166. package/docs/zh/configure/app/source/compile-js-data-uri.mdx +13 -0
  167. package/docs/zh/configure/app/source/define.mdx +13 -0
  168. package/docs/zh/configure/app/source/exclude.mdx +13 -0
  169. package/docs/zh/configure/app/source/global-vars.mdx +13 -0
  170. package/docs/zh/configure/app/source/include.mdx +13 -0
  171. package/docs/zh/configure/app/source/module-scopes.mdx +13 -0
  172. package/docs/zh/configure/app/source/pre-entry.mdx +13 -0
  173. package/docs/zh/configure/app/source/resolve-extension-prefix.mdx +13 -0
  174. package/docs/zh/configure/app/source/resolve-main-fields.mdx +13 -0
  175. package/docs/zh/configure/app/tools/autoprefixer.mdx +13 -0
  176. package/docs/zh/configure/app/tools/babel.mdx +13 -0
  177. package/docs/zh/configure/app/tools/css-extract.mdx +13 -0
  178. package/docs/zh/configure/app/tools/css-loader.mdx +13 -0
  179. package/docs/zh/configure/app/tools/dev-server.mdx +13 -0
  180. package/docs/zh/configure/app/tools/html-plugin.mdx +13 -0
  181. package/docs/zh/configure/app/tools/inspector.mdx +13 -0
  182. package/docs/zh/configure/app/tools/less.mdx +13 -0
  183. package/docs/zh/configure/app/tools/minify-css.mdx +13 -0
  184. package/docs/zh/configure/app/tools/postcss.mdx +13 -0
  185. package/docs/zh/configure/app/tools/pug.mdx +13 -0
  186. package/docs/zh/configure/app/tools/rspack.mdx +13 -0
  187. package/docs/zh/configure/app/tools/sass.mdx +13 -0
  188. package/docs/zh/configure/app/tools/style-loader.mdx +13 -0
  189. package/docs/zh/configure/app/tools/styled-components.mdx +13 -0
  190. package/docs/zh/configure/app/tools/terser.mdx +13 -0
  191. package/docs/zh/configure/app/tools/ts-checker.mdx +13 -0
  192. package/docs/zh/configure/app/tools/ts-loader.mdx +13 -0
  193. package/docs/zh/configure/app/tools/webpack-chain.mdx +13 -0
  194. package/docs/zh/configure/app/tools/webpack.mdx +13 -0
  195. package/{zh → docs/zh}/guides/advanced-features/rspack-start.mdx +2 -0
  196. package/modern.config.ts +157 -0
  197. package/package.json +14 -5
  198. package/src/components/ContentCard/index.module.scss +61 -0
  199. package/src/components/ContentCard/index.tsx +25 -0
  200. package/src/components/FeatureLayout/index.module.css +8 -0
  201. package/src/components/FeatureLayout/index.tsx +8 -0
  202. package/src/components/Footer/index.tsx +131 -0
  203. package/src/components/Footer/styles.module.scss +49 -0
  204. package/src/components/ListCard/index.module.css +58 -0
  205. package/src/components/ListCard/index.tsx +26 -0
  206. package/src/components/SecondaryTitle/index.module.css +14 -0
  207. package/src/components/SecondaryTitle/index.tsx +15 -0
  208. package/src/global.d.ts +28 -0
  209. package/src/i18n/enUS.ts +50 -0
  210. package/src/i18n/index.ts +18 -0
  211. package/src/i18n/zhCN.ts +50 -0
  212. package/src/index.ts +9 -0
  213. package/src/pages/index.module.scss +238 -0
  214. package/src/pages/index.tsx +162 -0
  215. package/static/img/favicon.ico +0 -0
  216. package/static/img/features/ai.svg +1 -0
  217. package/static/img/features/api.svg +1 -0
  218. package/static/img/features/app.svg +1 -0
  219. package/static/img/features/blocks.svg +1 -0
  220. package/static/img/features/browser.svg +12 -0
  221. package/static/img/features/cloud.svg +1 -0
  222. package/static/img/features/coding-backend.svg +1 -0
  223. package/static/img/features/compiler.svg +1 -0
  224. package/static/img/features/css-file.svg +1 -0
  225. package/static/img/features/customize.svg +1 -0
  226. package/static/img/features/developer.svg +1 -0
  227. package/static/img/features/dynamic.svg +1 -0
  228. package/static/img/features/editor.svg +1 -0
  229. package/static/img/features/framework-config.svg +1 -0
  230. package/static/img/features/framework.svg +1 -0
  231. package/static/img/features/frameworks.svg +1 -0
  232. package/static/img/features/html.svg +1 -0
  233. package/static/img/features/icon2.svg +1 -0
  234. package/static/img/features/javascript.svg +1 -0
  235. package/static/img/features/monorepo.svg +1 -0
  236. package/static/img/features/product.svg +1 -0
  237. package/static/img/features/server-network.svg +1 -0
  238. package/static/img/features/serverless.svg +1 -0
  239. package/static/img/features/test.svg +1 -0
  240. package/static/img/features/trinity.svg +1 -0
  241. package/static/img/features/unity.svg +1 -0
  242. package/static/img/features/url.svg +1 -0
  243. package/static/img/features/visual.svg +1 -0
  244. package/static/img/features/web-server.svg +1 -0
  245. package/.eslintrc.js +0 -12
  246. package/.turbo/turbo-build.log +0 -4
  247. package/en/components/prerequisites.mdx +0 -20
  248. package/scripts/config.ts +0 -96
  249. package/scripts/summary.en.json +0 -1
  250. package/scripts/summary.zh.json +0 -1
  251. package/scripts/sync.ts +0 -57
  252. package/tsconfig.json +0 -7
  253. package/zh/components/prerequisites.mdx +0 -20
  254. /package/{en → docs/en}/apis/app/commands.mdx +0 -0
  255. /package/{en → docs/en}/apis/app/hooks/_category_.json +0 -0
  256. /package/{en → docs/en}/apis/app/hooks/api/_category_.json +0 -0
  257. /package/{en → docs/en}/apis/app/hooks/api/framework/_category_.json +0 -0
  258. /package/{en → docs/en}/apis/app/hooks/api/framework/lambda.mdx +0 -0
  259. /package/{en → docs/en}/apis/app/hooks/api/functions/_category_.json +0 -0
  260. /package/{en → docs/en}/apis/app/hooks/api/functions/api.mdx +0 -0
  261. /package/{en → docs/en}/apis/app/hooks/api/functions/app.mdx +0 -0
  262. /package/{en → docs/en}/apis/app/hooks/api/functions/common.mdx +0 -0
  263. /package/{en → docs/en}/apis/app/hooks/api/test.mdx +0 -0
  264. /package/{en → docs/en}/apis/app/hooks/config/_category_.json +0 -0
  265. /package/{en → docs/en}/apis/app/hooks/config/html.mdx +0 -0
  266. /package/{en → docs/en}/apis/app/hooks/config/icon.mdx +0 -0
  267. /package/{en → docs/en}/apis/app/hooks/config/mock.mdx +0 -0
  268. /package/{en → docs/en}/apis/app/hooks/config/public.mdx +0 -0
  269. /package/{en → docs/en}/apis/app/hooks/config/storybook.mdx +0 -0
  270. /package/{en → docs/en}/apis/app/hooks/config/upload.mdx +0 -0
  271. /package/{en → docs/en}/apis/app/hooks/modern-config.mdx +0 -0
  272. /package/{en → docs/en}/apis/app/hooks/server/_category_.json +0 -0
  273. /package/{en → docs/en}/apis/app/hooks/server/index_.mdx +0 -0
  274. /package/{en → docs/en}/apis/app/hooks/server/test.mdx +0 -0
  275. /package/{en → docs/en}/apis/app/hooks/shared.mdx +0 -0
  276. /package/{en → docs/en}/apis/app/hooks/src/_category_.json +0 -0
  277. /package/{en → docs/en}/apis/app/hooks/src/app.mdx +0 -0
  278. /package/{en → docs/en}/apis/app/hooks/src/index_.mdx +0 -0
  279. /package/{en → docs/en}/apis/app/hooks/src/pages.mdx +0 -0
  280. /package/{en → docs/en}/apis/app/hooks/src/routes.mdx +0 -0
  281. /package/{en → docs/en}/apis/app/hooks/src/server.mdx +0 -0
  282. /package/{en → docs/en}/apis/app/hooks/src/stories.mdx +0 -0
  283. /package/{en → docs/en}/apis/app/hooks/src/test.mdx +0 -0
  284. /package/{en → docs/en}/apis/app/runtime/_category_.json +0 -0
  285. /package/{en → docs/en}/apis/app/runtime/app/_category_.json +0 -0
  286. /package/{en → docs/en}/apis/app/runtime/app/define-config.mdx +0 -0
  287. /package/{en → docs/en}/apis/app/runtime/bff/_category_.json +0 -0
  288. /package/{en → docs/en}/apis/app/runtime/bff/hook.mdx +0 -0
  289. /package/{en → docs/en}/apis/app/runtime/bff/use-context.mdx +0 -0
  290. /package/{en → docs/en}/apis/app/runtime/core/_category_.json +0 -0
  291. /package/{en → docs/en}/apis/app/runtime/core/bootstrap.mdx +0 -0
  292. /package/{en → docs/en}/apis/app/runtime/core/create-app.mdx +0 -0
  293. /package/{en → docs/en}/apis/app/runtime/core/use-loader.mdx +0 -0
  294. /package/{en → docs/en}/apis/app/runtime/core/use-module-apps.mdx +0 -0
  295. /package/{en → docs/en}/apis/app/runtime/core/use-runtime-context.mdx +0 -0
  296. /package/{en → docs/en}/apis/app/runtime/model/Provider.mdx +0 -0
  297. /package/{en → docs/en}/apis/app/runtime/model/_category_.json +0 -0
  298. /package/{en → docs/en}/apis/app/runtime/model/auto-actions.mdx +0 -0
  299. /package/{en → docs/en}/apis/app/runtime/model/connect.mdx +0 -0
  300. /package/{en → docs/en}/apis/app/runtime/model/create-app.mdx +0 -0
  301. /package/{en → docs/en}/apis/app/runtime/model/create-store.mdx +0 -0
  302. /package/{en → docs/en}/apis/app/runtime/model/handle-effect.mdx +0 -0
  303. /package/{en → docs/en}/apis/app/runtime/model/model_.mdx +0 -0
  304. /package/{en → docs/en}/apis/app/runtime/model/use-local-model.mdx +0 -0
  305. /package/{en → docs/en}/apis/app/runtime/model/use-model.mdx +0 -0
  306. /package/{en → docs/en}/apis/app/runtime/model/use-static-model.mdx +0 -0
  307. /package/{en → docs/en}/apis/app/runtime/model/use-store.mdx +0 -0
  308. /package/{en → docs/en}/apis/app/runtime/router/_category_.json +0 -0
  309. /package/{en → docs/en}/apis/app/runtime/router/router.mdx +0 -0
  310. /package/{en → docs/en}/apis/app/runtime/ssr/_category_.json +0 -0
  311. /package/{en → docs/en}/apis/app/runtime/ssr/no-ssr.mdx +0 -0
  312. /package/{en → docs/en}/apis/app/runtime/ssr/pre-render.mdx +0 -0
  313. /package/{en → docs/en}/apis/app/runtime/testing/_category_.json +0 -0
  314. /package/{en → docs/en}/apis/app/runtime/testing/act.mdx +0 -0
  315. /package/{en → docs/en}/apis/app/runtime/testing/cleanup.mdx +0 -0
  316. /package/{en → docs/en}/apis/app/runtime/testing/render.mdx +0 -0
  317. /package/{en → docs/en}/apis/app/runtime/testing/renderApp.mdx +0 -0
  318. /package/{en → docs/en}/apis/app/runtime/utility/_category_.json +0 -0
  319. /package/{en → docs/en}/apis/app/runtime/utility/css-in-js.mdx +0 -0
  320. /package/{en → docs/en}/apis/app/runtime/utility/head.mdx +0 -0
  321. /package/{en → docs/en}/apis/app/runtime/utility/loadable.mdx +0 -0
  322. /package/{en → docs/en}/apis/app/runtime/web-server/_category_.json +0 -0
  323. /package/{en → docs/en}/apis/app/runtime/web-server/hook.mdx +0 -0
  324. /package/{en → docs/en}/apis/app/runtime/web-server/middleware.mdx +0 -0
  325. /package/{en → docs/en}/components/debug-app.mdx +0 -0
  326. /package/{en → docs/en}/components/enable-bff.mdx +0 -0
  327. /package/{en → docs/en}/components/enable-micro-frontend.mdx +0 -0
  328. /package/{en → docs/en}/components/global-proxy-config.mdx +0 -0
  329. /package/{en → docs/en}/components/global-proxy.mdx +0 -0
  330. /package/{en → docs/en}/components/init-app.mdx +0 -0
  331. /package/{en → docs/en}/components/init-rspack-app.mdx +0 -0
  332. /package/{en → docs/en}/components/micro-master-manifest-config.mdx +0 -0
  333. /package/{en → docs/en}/components/micro-runtime-config.mdx +0 -0
  334. /package/{en → docs/en}/components/reduck-migration.mdx +0 -0
  335. /package/{en → docs/en}/components/reduck-tip.mdx +0 -0
  336. /package/{en → docs/en}/components/router-legacy-tip.mdx +0 -0
  337. /package/{en → docs/en}/configure/app/auto-load-plugin.mdx +0 -0
  338. /package/{en → docs/en}/configure/app/bff/_category_.json +0 -0
  339. /package/{en → docs/en}/configure/app/bff/enable-handle-web.mdx +0 -0
  340. /package/{en → docs/en}/configure/app/bff/prefix.mdx +0 -0
  341. /package/{en → docs/en}/configure/app/bff/proxy.mdx +0 -0
  342. /package/{en → docs/en}/configure/app/builder-plugins.mdx +0 -0
  343. /package/{en → docs/en}/configure/app/deploy/_category_.json +0 -0
  344. /package/{en → docs/en}/configure/app/deploy/microFrontend.mdx +0 -0
  345. /package/{en → docs/en}/configure/app/dev/_category_.json +0 -0
  346. /package/{en → docs/en}/configure/app/dev/proxy.mdx +0 -0
  347. /package/{en → docs/en}/configure/app/experiments/_category_.json +0 -0
  348. /package/{en → docs/en}/configure/app/html/_category_.json +0 -0
  349. /package/{en → docs/en}/configure/app/output/_category_.json +0 -0
  350. /package/{en → docs/en}/configure/app/output/disable-node-polyfill.mdx +0 -0
  351. /package/{en → docs/en}/configure/app/output/ssg.mdx +0 -0
  352. /package/{en → docs/en}/configure/app/performance/_category_.json +0 -0
  353. /package/{en → docs/en}/configure/app/plugins.mdx +0 -0
  354. /package/{en → docs/en}/configure/app/runtime/_category_.json +0 -0
  355. /package/{en → docs/en}/configure/app/runtime/intro.mdx +0 -0
  356. /package/{en → docs/en}/configure/app/runtime/master-app.mdx +0 -0
  357. /package/{en → docs/en}/configure/app/runtime/router.mdx +0 -0
  358. /package/{en → docs/en}/configure/app/runtime/state.mdx +0 -0
  359. /package/{en → docs/en}/configure/app/security/_category_.json +0 -0
  360. /package/{en → docs/en}/configure/app/server/_category_.json +0 -0
  361. /package/{en → docs/en}/configure/app/server/base-url.mdx +0 -0
  362. /package/{en → docs/en}/configure/app/server/enable-framework-ext.mdx +0 -0
  363. /package/{en → docs/en}/configure/app/server/port.mdx +0 -0
  364. /package/{en → docs/en}/configure/app/server/public-routes.mdx +0 -0
  365. /package/{en → docs/en}/configure/app/server/routes.mdx +0 -0
  366. /package/{en → docs/en}/configure/app/server/ssr-by-entries.mdx +0 -0
  367. /package/{en → docs/en}/configure/app/server/ssr.mdx +0 -0
  368. /package/{en → docs/en}/configure/app/source/_category_.json +0 -0
  369. /package/{en → docs/en}/configure/app/source/config-dir.mdx +0 -0
  370. /package/{en → docs/en}/configure/app/source/design-system.mdx +0 -0
  371. /package/{en → docs/en}/configure/app/source/disable-default-entries.mdx +0 -0
  372. /package/{en → docs/en}/configure/app/source/disable-entry-dirs.mdx +0 -0
  373. /package/{en → docs/en}/configure/app/source/enable-async-entry.mdx +0 -0
  374. /package/{en → docs/en}/configure/app/source/entries-dir.mdx +0 -0
  375. /package/{en → docs/en}/configure/app/source/entries.mdx +0 -0
  376. /package/{en → docs/en}/configure/app/testing/_category_.json +0 -0
  377. /package/{en → docs/en}/configure/app/testing/transformer.mdx +0 -0
  378. /package/{en → docs/en}/configure/app/tools/_category_.json +0 -0
  379. /package/{en → docs/en}/configure/app/tools/esbuild.mdx +0 -0
  380. /package/{en → docs/en}/configure/app/tools/jest.mdx +0 -0
  381. /package/{en → docs/en}/configure/app/tools/swc.mdx +0 -0
  382. /package/{en → docs/en}/configure/app/tools/tailwindcss.mdx +0 -0
  383. /package/{en → docs/en}/configure/app/usage.mdx +0 -0
  384. /package/{en → docs/en}/guides/advanced-features/_category_.json +0 -0
  385. /package/{en → docs/en}/guides/advanced-features/bff/_category_.json +0 -0
  386. /package/{en → docs/en}/guides/advanced-features/bff/bff-proxy.mdx +0 -0
  387. /package/{en → docs/en}/guides/advanced-features/bff/frameworks.mdx +0 -0
  388. /package/{en → docs/en}/guides/advanced-features/bff/function.mdx +0 -0
  389. /package/{en → docs/en}/guides/advanced-features/bff/index.mdx +0 -0
  390. /package/{en → docs/en}/guides/advanced-features/bff/type.mdx +0 -0
  391. /package/{en → docs/en}/guides/advanced-features/code-split.mdx +0 -0
  392. /package/{en → docs/en}/guides/advanced-features/compatibility.mdx +0 -0
  393. /package/{en → docs/en}/guides/advanced-features/eslint.mdx +0 -0
  394. /package/{en → docs/en}/guides/advanced-features/low-level.mdx +0 -0
  395. /package/{en → docs/en}/guides/advanced-features/ssg.mdx +0 -0
  396. /package/{en → docs/en}/guides/advanced-features/ssr.mdx +0 -0
  397. /package/{en → docs/en}/guides/advanced-features/testing.mdx +0 -0
  398. /package/{en → docs/en}/guides/advanced-features/web-server.mdx +0 -0
  399. /package/{en → docs/en}/guides/basic-features/_category_.json +0 -0
  400. /package/{en → docs/en}/guides/basic-features/alias.mdx +0 -0
  401. /package/{en → docs/en}/guides/basic-features/css.mdx +0 -0
  402. /package/{en → docs/en}/guides/basic-features/data-fetch.mdx +0 -0
  403. /package/{en → docs/en}/guides/basic-features/env-vars.mdx +0 -0
  404. /package/{en → docs/en}/guides/basic-features/html.mdx +0 -0
  405. /package/{en → docs/en}/guides/basic-features/mock.mdx +0 -0
  406. /package/{en → docs/en}/guides/basic-features/proxy.mdx +0 -0
  407. /package/{en → docs/en}/guides/basic-features/routes.mdx +0 -0
  408. /package/{en → docs/en}/guides/concept/_category_.json +0 -0
  409. /package/{en → docs/en}/guides/concept/builder.mdx +0 -0
  410. /package/{en → docs/en}/guides/concept/entries.mdx +0 -0
  411. /package/{en → docs/en}/guides/get-started/_category_.json +0 -0
  412. /package/{en → docs/en}/guides/get-started/introduction.mdx +0 -0
  413. /package/{en → docs/en}/guides/get-started/upgrade.mdx +0 -0
  414. /package/{en → docs/en}/guides/topic-detail/_category_.json +0 -0
  415. /package/{en → docs/en}/guides/topic-detail/framework-plugin/_category_.json +0 -0
  416. /package/{en → docs/en}/guides/topic-detail/framework-plugin/extend.mdx +0 -0
  417. /package/{en → docs/en}/guides/topic-detail/framework-plugin/hook-list.mdx +0 -0
  418. /package/{en → docs/en}/guides/topic-detail/framework-plugin/hook.mdx +0 -0
  419. /package/{en → docs/en}/guides/topic-detail/framework-plugin/implement.mdx +0 -0
  420. /package/{en → docs/en}/guides/topic-detail/framework-plugin/introduction.mdx +0 -0
  421. /package/{en → docs/en}/guides/topic-detail/framework-plugin/lifecycle.mdx +0 -0
  422. /package/{en → docs/en}/guides/topic-detail/framework-plugin/plugin-api.mdx +0 -0
  423. /package/{en → docs/en}/guides/topic-detail/framework-plugin/relationship.mdx +0 -0
  424. /package/{en → docs/en}/guides/topic-detail/generator/_category_.json +0 -0
  425. /package/{en → docs/en}/guides/topic-detail/generator/codesmith/_category_.json +0 -0
  426. /package/{en → docs/en}/guides/topic-detail/generator/codesmith/api/_category_.json +0 -0
  427. /package/{en → docs/en}/guides/topic-detail/generator/codesmith/api/app.mdx +0 -0
  428. /package/{en → docs/en}/guides/topic-detail/generator/codesmith/api/ejs.mdx +0 -0
  429. /package/{en → docs/en}/guides/topic-detail/generator/codesmith/api/fs.mdx +0 -0
  430. /package/{en → docs/en}/guides/topic-detail/generator/codesmith/api/git.mdx +0 -0
  431. /package/{en → docs/en}/guides/topic-detail/generator/codesmith/api/handlebars.mdx +0 -0
  432. /package/{en → docs/en}/guides/topic-detail/generator/codesmith/api/json.mdx +0 -0
  433. /package/{en → docs/en}/guides/topic-detail/generator/codesmith/api/npm.mdx +0 -0
  434. /package/{en → docs/en}/guides/topic-detail/generator/codesmith/develop.mdx +0 -0
  435. /package/{en → docs/en}/guides/topic-detail/generator/codesmith/introduce.mdx +0 -0
  436. /package/{en → docs/en}/guides/topic-detail/generator/codesmith/run-in-js.mdx +0 -0
  437. /package/{en → docs/en}/guides/topic-detail/generator/codesmith/structure.mdx +0 -0
  438. /package/{en → docs/en}/guides/topic-detail/generator/config/_category_.json +0 -0
  439. /package/{en → docs/en}/guides/topic-detail/generator/config/app.mdx +0 -0
  440. /package/{en → docs/en}/guides/topic-detail/generator/config/common.mdx +0 -0
  441. /package/{en → docs/en}/guides/topic-detail/generator/config/module.mdx +0 -0
  442. /package/{en → docs/en}/guides/topic-detail/generator/config/monorepo.mdx +0 -0
  443. /package/{en → docs/en}/guides/topic-detail/generator/plugin/_category_.json +0 -0
  444. /package/{en → docs/en}/guides/topic-detail/generator/plugin/abstract.mdx +0 -0
  445. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/_category_.json +0 -0
  446. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/file/_category_.json +0 -0
  447. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/file/addFile.mdx +0 -0
  448. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/file/addHelper.mdx +0 -0
  449. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/file/addManyFile.mdx +0 -0
  450. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/file/addPartial.mdx +0 -0
  451. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/file/introduce.mdx +0 -0
  452. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/file/rmDir.mdx +0 -0
  453. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/file/rmFile.mdx +0 -0
  454. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/file/updateJSONFile.mdx +0 -0
  455. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/file/updateModernConfig.mdx +0 -0
  456. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/file/updateTextRawFile.mdx +0 -0
  457. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/git/_category_.json +0 -0
  458. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/git/gitAddAndCommit.mdx +0 -0
  459. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/git/initGitRepo.mdx +0 -0
  460. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/git/isInGitRepo.mdx +0 -0
  461. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/hook/_category_.json +0 -0
  462. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/hook/afterForged.mdx +0 -0
  463. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/hook/onForged.mdx +0 -0
  464. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/info/_category_.json +0 -0
  465. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/info/isFileExit.mdx +0 -0
  466. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/info/locale.mdx +0 -0
  467. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/info/readDir.mdx +0 -0
  468. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/input/_category_.json +0 -0
  469. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/input/addInputAfter.mdx +0 -0
  470. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/input/addInputBefore.mdx +0 -0
  471. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/input/setInput.mdx +0 -0
  472. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/input/setInputValue.mdx +0 -0
  473. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/input/type.mdx +0 -0
  474. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/introduce.mdx +0 -0
  475. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/new/_category_.json +0 -0
  476. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/new/createElement.mdx +0 -0
  477. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/new/createSubProject.mdx +0 -0
  478. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/new/enableFunc.mdx +0 -0
  479. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/new/introduce.mdx +0 -0
  480. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/npm/_category_.json +0 -0
  481. /package/{en → docs/en}/guides/topic-detail/generator/plugin/api/npm/install.mdx +0 -0
  482. /package/{en → docs/en}/guides/topic-detail/generator/plugin/develop.mdx +0 -0
  483. /package/{en → docs/en}/guides/topic-detail/generator/plugin/use.mdx +0 -0
  484. /package/{en → docs/en}/guides/topic-detail/generator/project.mdx +0 -0
  485. /package/{en → docs/en}/guides/topic-detail/micro-frontend/_category_.json +0 -0
  486. /package/{en → docs/en}/guides/topic-detail/micro-frontend/c01-introduction.mdx +0 -0
  487. /package/{en → docs/en}/guides/topic-detail/micro-frontend/c02-development.mdx +0 -0
  488. /package/{en → docs/en}/guides/topic-detail/micro-frontend/c03-main-app.mdx +0 -0
  489. /package/{en → docs/en}/guides/topic-detail/micro-frontend/c04-communicate.mdx +0 -0
  490. /package/{en → docs/en}/guides/topic-detail/micro-frontend/c05-mixed-stack.mdx +0 -0
  491. /package/{en → docs/en}/guides/topic-detail/model/_category_.json +0 -0
  492. /package/{en → docs/en}/guides/topic-detail/model/auto-actions.mdx +0 -0
  493. /package/{en → docs/en}/guides/topic-detail/model/computed-state.mdx +0 -0
  494. /package/{en → docs/en}/guides/topic-detail/model/define-model.mdx +0 -0
  495. /package/{en → docs/en}/guides/topic-detail/model/faq.mdx +0 -0
  496. /package/{en → docs/en}/guides/topic-detail/model/manage-effects.mdx +0 -0
  497. /package/{en → docs/en}/guides/topic-detail/model/model-communicate.mdx +0 -0
  498. /package/{en → docs/en}/guides/topic-detail/model/performance.mdx +0 -0
  499. /package/{en → docs/en}/guides/topic-detail/model/quick-start.mdx +0 -0
  500. /package/{en → docs/en}/guides/topic-detail/model/redux-integration.mdx +0 -0
  501. /package/{en → docs/en}/guides/topic-detail/model/test-model.mdx +0 -0
  502. /package/{en → docs/en}/guides/topic-detail/model/typescript-best-practice.mdx +0 -0
  503. /package/{en → docs/en}/guides/topic-detail/model/use-model.mdx +0 -0
  504. /package/{en → docs/en}/guides/topic-detail/model/use-out-of-modernjs.mdx +0 -0
  505. /package/{en → docs/en}/guides/troubleshooting/_category_.json +0 -0
  506. /package/{en → docs/en}/guides/troubleshooting/cli.mdx +0 -0
  507. /package/{en → docs/en}/index.md +0 -0
  508. /package/{en → docs/en}/tutorials/first-app/_category_.json +0 -0
  509. /package/{en → docs/en}/tutorials/first-app/c01-start.mdx +0 -0
  510. /package/{en → docs/en}/tutorials/first-app/c02-component.mdx +0 -0
  511. /package/{en → docs/en}/tutorials/first-app/c03-css.mdx +0 -0
  512. /package/{en → docs/en}/tutorials/first-app/c04-routes.mdx +0 -0
  513. /package/{en → docs/en}/tutorials/first-app/c05-loader.mdx +0 -0
  514. /package/{en → docs/en}/tutorials/first-app/c06-model.mdx +0 -0
  515. /package/{en → docs/en}/tutorials/first-app/c07-container.mdx +0 -0
  516. /package/{en → docs/en}/tutorials/first-app/c08-entries.mdx +0 -0
  517. /package/{en → docs/en}/tutorials/foundations/_category_.json +0 -0
  518. /package/{en → docs/en}/tutorials/foundations/introduction.mdx +0 -0
  519. /package/{zh → docs/zh}/apis/app/commands.mdx +0 -0
  520. /package/{zh → docs/zh}/apis/app/hooks/_category_.json +0 -0
  521. /package/{zh → docs/zh}/apis/app/hooks/api/_category_.json +0 -0
  522. /package/{zh → docs/zh}/apis/app/hooks/api/framework/_category_.json +0 -0
  523. /package/{zh → docs/zh}/apis/app/hooks/api/framework/lambda.mdx +0 -0
  524. /package/{zh → docs/zh}/apis/app/hooks/api/functions/_category_.json +0 -0
  525. /package/{zh → docs/zh}/apis/app/hooks/api/functions/api.mdx +0 -0
  526. /package/{zh → docs/zh}/apis/app/hooks/api/functions/app.mdx +0 -0
  527. /package/{zh → docs/zh}/apis/app/hooks/api/functions/common.mdx +0 -0
  528. /package/{zh → docs/zh}/apis/app/hooks/api/test.mdx +0 -0
  529. /package/{zh → docs/zh}/apis/app/hooks/config/_category_.json +0 -0
  530. /package/{zh → docs/zh}/apis/app/hooks/config/html.mdx +0 -0
  531. /package/{zh → docs/zh}/apis/app/hooks/config/icon.mdx +0 -0
  532. /package/{zh → docs/zh}/apis/app/hooks/config/mock.mdx +0 -0
  533. /package/{zh → docs/zh}/apis/app/hooks/config/public.mdx +0 -0
  534. /package/{zh → docs/zh}/apis/app/hooks/config/storybook.mdx +0 -0
  535. /package/{zh → docs/zh}/apis/app/hooks/config/upload.mdx +0 -0
  536. /package/{zh → docs/zh}/apis/app/hooks/modern-config.mdx +0 -0
  537. /package/{zh → docs/zh}/apis/app/hooks/server/_category_.json +0 -0
  538. /package/{zh → docs/zh}/apis/app/hooks/server/index_.mdx +0 -0
  539. /package/{zh → docs/zh}/apis/app/hooks/server/test.mdx +0 -0
  540. /package/{zh → docs/zh}/apis/app/hooks/shared.mdx +0 -0
  541. /package/{zh → docs/zh}/apis/app/hooks/src/_category_.json +0 -0
  542. /package/{zh → docs/zh}/apis/app/hooks/src/app.mdx +0 -0
  543. /package/{zh → docs/zh}/apis/app/hooks/src/index_.mdx +0 -0
  544. /package/{zh → docs/zh}/apis/app/hooks/src/pages.mdx +0 -0
  545. /package/{zh → docs/zh}/apis/app/hooks/src/routes.mdx +0 -0
  546. /package/{zh → docs/zh}/apis/app/hooks/src/server.mdx +0 -0
  547. /package/{zh → docs/zh}/apis/app/hooks/src/stories.mdx +0 -0
  548. /package/{zh → docs/zh}/apis/app/hooks/src/test.mdx +0 -0
  549. /package/{zh → docs/zh}/apis/app/runtime/_category_.json +0 -0
  550. /package/{zh → docs/zh}/apis/app/runtime/app/_category_.json +0 -0
  551. /package/{zh → docs/zh}/apis/app/runtime/app/define-config.mdx +0 -0
  552. /package/{zh → docs/zh}/apis/app/runtime/bff/_category_.json +0 -0
  553. /package/{zh → docs/zh}/apis/app/runtime/bff/hook.mdx +0 -0
  554. /package/{zh → docs/zh}/apis/app/runtime/bff/use-context.mdx +0 -0
  555. /package/{zh → docs/zh}/apis/app/runtime/core/_category_.json +0 -0
  556. /package/{zh → docs/zh}/apis/app/runtime/core/bootstrap.mdx +0 -0
  557. /package/{zh → docs/zh}/apis/app/runtime/core/create-app.mdx +0 -0
  558. /package/{zh → docs/zh}/apis/app/runtime/core/use-loader.mdx +0 -0
  559. /package/{zh → docs/zh}/apis/app/runtime/core/use-module-apps.mdx +0 -0
  560. /package/{zh → docs/zh}/apis/app/runtime/core/use-runtime-context.mdx +0 -0
  561. /package/{zh → docs/zh}/apis/app/runtime/model/Provider.mdx +0 -0
  562. /package/{zh → docs/zh}/apis/app/runtime/model/_category_.json +0 -0
  563. /package/{zh → docs/zh}/apis/app/runtime/model/auto-actions.mdx +0 -0
  564. /package/{zh → docs/zh}/apis/app/runtime/model/connect.mdx +0 -0
  565. /package/{zh → docs/zh}/apis/app/runtime/model/create-app.mdx +0 -0
  566. /package/{zh → docs/zh}/apis/app/runtime/model/create-store.mdx +0 -0
  567. /package/{zh → docs/zh}/apis/app/runtime/model/handle-effect.mdx +0 -0
  568. /package/{zh → docs/zh}/apis/app/runtime/model/model_.mdx +0 -0
  569. /package/{zh → docs/zh}/apis/app/runtime/model/use-local-model.mdx +0 -0
  570. /package/{zh → docs/zh}/apis/app/runtime/model/use-model.mdx +0 -0
  571. /package/{zh → docs/zh}/apis/app/runtime/model/use-static-model.mdx +0 -0
  572. /package/{zh → docs/zh}/apis/app/runtime/model/use-store.mdx +0 -0
  573. /package/{zh → docs/zh}/apis/app/runtime/router/_category_.json +0 -0
  574. /package/{zh → docs/zh}/apis/app/runtime/router/router.mdx +0 -0
  575. /package/{zh → docs/zh}/apis/app/runtime/ssr/_category_.json +0 -0
  576. /package/{zh → docs/zh}/apis/app/runtime/ssr/no-ssr.mdx +0 -0
  577. /package/{zh → docs/zh}/apis/app/runtime/ssr/pre-render.mdx +0 -0
  578. /package/{zh → docs/zh}/apis/app/runtime/testing/_category_.json +0 -0
  579. /package/{zh → docs/zh}/apis/app/runtime/testing/act.mdx +0 -0
  580. /package/{zh → docs/zh}/apis/app/runtime/testing/cleanup.mdx +0 -0
  581. /package/{zh → docs/zh}/apis/app/runtime/testing/render.mdx +0 -0
  582. /package/{zh → docs/zh}/apis/app/runtime/testing/renderApp.mdx +0 -0
  583. /package/{zh → docs/zh}/apis/app/runtime/utility/_category_.json +0 -0
  584. /package/{zh → docs/zh}/apis/app/runtime/utility/css-in-js.mdx +0 -0
  585. /package/{zh → docs/zh}/apis/app/runtime/utility/head.mdx +0 -0
  586. /package/{zh → docs/zh}/apis/app/runtime/utility/loadable.mdx +0 -0
  587. /package/{zh → docs/zh}/apis/app/runtime/web-server/_category_.json +0 -0
  588. /package/{zh → docs/zh}/apis/app/runtime/web-server/hook.mdx +0 -0
  589. /package/{zh → docs/zh}/apis/app/runtime/web-server/middleware.mdx +0 -0
  590. /package/{zh → docs/zh}/apis/monorepo/commands/_category_.json +0 -0
  591. /package/{zh → docs/zh}/apis/monorepo/commands/bump.mdx +0 -0
  592. /package/{zh → docs/zh}/apis/monorepo/commands/change.mdx +0 -0
  593. /package/{zh → docs/zh}/apis/monorepo/commands/clear.mdx +0 -0
  594. /package/{zh → docs/zh}/apis/monorepo/commands/deploy.mdx +0 -0
  595. /package/{zh → docs/zh}/apis/monorepo/commands/gen-release-note.mdx +0 -0
  596. /package/{zh → docs/zh}/apis/monorepo/commands/index.mdx +0 -0
  597. /package/{zh → docs/zh}/apis/monorepo/commands/lint.mdx +0 -0
  598. /package/{zh → docs/zh}/apis/monorepo/commands/new.mdx +0 -0
  599. /package/{zh → docs/zh}/apis/monorepo/commands/pre.mdx +0 -0
  600. /package/{zh → docs/zh}/apis/monorepo/commands/release.mdx +0 -0
  601. /package/{zh → docs/zh}/apis/monorepo/commands/upgrade.mdx +0 -0
  602. /package/{zh → docs/zh}/apis/monorepo/hooks/_category_.json +0 -0
  603. /package/{zh → docs/zh}/apis/monorepo/hooks/apps.mdx +0 -0
  604. /package/{zh → docs/zh}/apis/monorepo/hooks/code-workspace.mdx +0 -0
  605. /package/{zh → docs/zh}/apis/monorepo/hooks/examples.mdx +0 -0
  606. /package/{zh → docs/zh}/apis/monorepo/hooks/features.mdx +0 -0
  607. /package/{zh → docs/zh}/apis/monorepo/hooks/index.mdx +0 -0
  608. /package/{zh → docs/zh}/apis/monorepo/hooks/packages.mdx +0 -0
  609. /package/{zh → docs/zh}/apis/monorepo/hooks/pnpm-workspace.mdx +0 -0
  610. /package/{zh → docs/zh}/apis/monorepo/hooks/pnpmfile.mdx +0 -0
  611. /package/{zh → docs/zh}/blog/index.md +0 -0
  612. /package/{zh → docs/zh}/community/index.mdx +0 -0
  613. /package/{zh → docs/zh}/components/custom-router-micro-frontend.mdx +0 -0
  614. /package/{zh → docs/zh}/components/debug-app.mdx +0 -0
  615. /package/{zh → docs/zh}/components/default-mwa-generate.mdx +0 -0
  616. /package/{zh → docs/zh}/components/deploy.mdx +0 -0
  617. /package/{zh → docs/zh}/components/enable-bff.mdx +0 -0
  618. /package/{zh → docs/zh}/components/enable-micro-frontend.mdx +0 -0
  619. /package/{zh → docs/zh}/components/global-proxy-config.mdx +0 -0
  620. /package/{zh → docs/zh}/components/global-proxy.mdx +0 -0
  621. /package/{zh → docs/zh}/components/init-app.mdx +0 -0
  622. /package/{zh → docs/zh}/components/init-rspack-app.mdx +0 -0
  623. /package/{zh → docs/zh}/components/micro-master-manifest-config.mdx +0 -0
  624. /package/{zh → docs/zh}/components/micro-runtime-config.mdx +0 -0
  625. /package/{zh → docs/zh}/components/reduck-migration.mdx +0 -0
  626. /package/{zh → docs/zh}/components/reduck-tip.mdx +0 -0
  627. /package/{zh → docs/zh}/components/release-note.mdx +0 -0
  628. /package/{zh → docs/zh}/components/router-legacy-tip.mdx +0 -0
  629. /package/{zh → docs/zh}/components/self-route-example.mdx +0 -0
  630. /package/{zh → docs/zh}/configure/app/auto-load-plugin.mdx +0 -0
  631. /package/{zh → docs/zh}/configure/app/bff/_category_.json +0 -0
  632. /package/{zh → docs/zh}/configure/app/bff/enable-handle-web.mdx +0 -0
  633. /package/{zh → docs/zh}/configure/app/bff/prefix.mdx +0 -0
  634. /package/{zh → docs/zh}/configure/app/bff/proxy.mdx +0 -0
  635. /package/{zh → docs/zh}/configure/app/builder-plugins.mdx +0 -0
  636. /package/{zh → docs/zh}/configure/app/deploy/_category_.json +0 -0
  637. /package/{zh → docs/zh}/configure/app/deploy/microFrontend.mdx +0 -0
  638. /package/{zh → docs/zh}/configure/app/dev/_category_.json +0 -0
  639. /package/{zh → docs/zh}/configure/app/dev/proxy.mdx +0 -0
  640. /package/{zh → docs/zh}/configure/app/experiments/_category_.json +0 -0
  641. /package/{zh → docs/zh}/configure/app/html/_category_.json +0 -0
  642. /package/{zh → docs/zh}/configure/app/output/_category_.json +0 -0
  643. /package/{zh → docs/zh}/configure/app/output/disable-node-polyfill.mdx +0 -0
  644. /package/{zh → docs/zh}/configure/app/output/ssg.mdx +0 -0
  645. /package/{zh → docs/zh}/configure/app/performance/_category_.json +0 -0
  646. /package/{zh → docs/zh}/configure/app/plugins.mdx +0 -0
  647. /package/{zh → docs/zh}/configure/app/runtime/_category_.json +0 -0
  648. /package/{zh → docs/zh}/configure/app/runtime/intro.mdx +0 -0
  649. /package/{zh → docs/zh}/configure/app/runtime/master-app.mdx +0 -0
  650. /package/{zh → docs/zh}/configure/app/runtime/router.mdx +0 -0
  651. /package/{zh → docs/zh}/configure/app/runtime/state.mdx +0 -0
  652. /package/{zh → docs/zh}/configure/app/security/_category_.json +0 -0
  653. /package/{zh → docs/zh}/configure/app/server/_category_.json +0 -0
  654. /package/{zh → docs/zh}/configure/app/server/base-url.mdx +0 -0
  655. /package/{zh → docs/zh}/configure/app/server/enable-framework-ext.mdx +0 -0
  656. /package/{zh → docs/zh}/configure/app/server/port.mdx +0 -0
  657. /package/{zh → docs/zh}/configure/app/server/public-routes.mdx +0 -0
  658. /package/{zh → docs/zh}/configure/app/server/routes.mdx +0 -0
  659. /package/{zh → docs/zh}/configure/app/server/ssr-by-entries.mdx +0 -0
  660. /package/{zh → docs/zh}/configure/app/server/ssr.mdx +0 -0
  661. /package/{zh → docs/zh}/configure/app/source/_category_.json +0 -0
  662. /package/{zh → docs/zh}/configure/app/source/config-dir.mdx +0 -0
  663. /package/{zh → docs/zh}/configure/app/source/design-system.mdx +0 -0
  664. /package/{zh → docs/zh}/configure/app/source/disable-default-entries.mdx +0 -0
  665. /package/{zh → docs/zh}/configure/app/source/disable-entry-dirs.mdx +0 -0
  666. /package/{zh → docs/zh}/configure/app/source/enable-async-entry.mdx +0 -0
  667. /package/{zh → docs/zh}/configure/app/source/entries-dir.mdx +0 -0
  668. /package/{zh → docs/zh}/configure/app/source/entries.mdx +0 -0
  669. /package/{zh → docs/zh}/configure/app/testing/_category_.json +0 -0
  670. /package/{zh → docs/zh}/configure/app/testing/transformer.mdx +0 -0
  671. /package/{zh → docs/zh}/configure/app/tools/_category_.json +0 -0
  672. /package/{zh → docs/zh}/configure/app/tools/esbuild.mdx +0 -0
  673. /package/{zh → docs/zh}/configure/app/tools/jest.mdx +0 -0
  674. /package/{zh → docs/zh}/configure/app/tools/swc.mdx +0 -0
  675. /package/{zh → docs/zh}/configure/app/tools/tailwindcss.mdx +0 -0
  676. /package/{zh → docs/zh}/configure/app/usage.mdx +0 -0
  677. /package/{zh → docs/zh}/guides/advanced-features/_category_.json +0 -0
  678. /package/{zh → docs/zh}/guides/advanced-features/bff/_category_.json +0 -0
  679. /package/{zh → docs/zh}/guides/advanced-features/bff/bff-proxy.mdx +0 -0
  680. /package/{zh → docs/zh}/guides/advanced-features/bff/frameworks.mdx +0 -0
  681. /package/{zh → docs/zh}/guides/advanced-features/bff/function.mdx +0 -0
  682. /package/{zh → docs/zh}/guides/advanced-features/bff/index.mdx +0 -0
  683. /package/{zh → docs/zh}/guides/advanced-features/bff/type.mdx +0 -0
  684. /package/{zh → docs/zh}/guides/advanced-features/code-split.mdx +0 -0
  685. /package/{zh → docs/zh}/guides/advanced-features/compatibility.mdx +0 -0
  686. /package/{zh → docs/zh}/guides/advanced-features/eslint.mdx +0 -0
  687. /package/{zh → docs/zh}/guides/advanced-features/low-level.mdx +0 -0
  688. /package/{zh → docs/zh}/guides/advanced-features/ssg.mdx +0 -0
  689. /package/{zh → docs/zh}/guides/advanced-features/ssr.mdx +0 -0
  690. /package/{zh → docs/zh}/guides/advanced-features/testing.mdx +0 -0
  691. /package/{zh → docs/zh}/guides/advanced-features/web-server.mdx +0 -0
  692. /package/{zh → docs/zh}/guides/basic-features/_category_.json +0 -0
  693. /package/{zh → docs/zh}/guides/basic-features/alias.mdx +0 -0
  694. /package/{zh → docs/zh}/guides/basic-features/css.mdx +0 -0
  695. /package/{zh → docs/zh}/guides/basic-features/data-fetch.mdx +0 -0
  696. /package/{zh → docs/zh}/guides/basic-features/env-vars.mdx +0 -0
  697. /package/{zh → docs/zh}/guides/basic-features/html.mdx +0 -0
  698. /package/{zh → docs/zh}/guides/basic-features/mock.mdx +0 -0
  699. /package/{zh → docs/zh}/guides/basic-features/proxy.mdx +0 -0
  700. /package/{zh → docs/zh}/guides/basic-features/routes.mdx +0 -0
  701. /package/{zh → docs/zh}/guides/concept/_category_.json +0 -0
  702. /package/{zh → docs/zh}/guides/concept/builder.mdx +0 -0
  703. /package/{zh → docs/zh}/guides/concept/entries.mdx +0 -0
  704. /package/{zh → docs/zh}/guides/get-started/_category_.json +0 -0
  705. /package/{zh → docs/zh}/guides/get-started/introduction.mdx +0 -0
  706. /package/{zh → docs/zh}/guides/get-started/quick-start.mdx +0 -0
  707. /package/{zh → docs/zh}/guides/get-started/upgrade.mdx +0 -0
  708. /package/{zh → docs/zh}/guides/topic-detail/_category_.json +0 -0
  709. /package/{zh → docs/zh}/guides/topic-detail/changesets/_category_.json +0 -0
  710. /package/{zh → docs/zh}/guides/topic-detail/changesets/add.mdx +0 -0
  711. /package/{zh → docs/zh}/guides/topic-detail/changesets/changelog.mdx +0 -0
  712. /package/{zh → docs/zh}/guides/topic-detail/changesets/commit.mdx +0 -0
  713. /package/{zh → docs/zh}/guides/topic-detail/changesets/config.mdx +0 -0
  714. /package/{zh → docs/zh}/guides/topic-detail/changesets/github.mdx +0 -0
  715. /package/{zh → docs/zh}/guides/topic-detail/changesets/introduce.mdx +0 -0
  716. /package/{zh → docs/zh}/guides/topic-detail/changesets/release-note.mdx +0 -0
  717. /package/{zh → docs/zh}/guides/topic-detail/changesets/release-pre.mdx +0 -0
  718. /package/{zh → docs/zh}/guides/topic-detail/changesets/release.mdx +0 -0
  719. /package/{zh → docs/zh}/guides/topic-detail/framework-plugin/_category_.json +0 -0
  720. /package/{zh → docs/zh}/guides/topic-detail/framework-plugin/extend.mdx +0 -0
  721. /package/{zh → docs/zh}/guides/topic-detail/framework-plugin/hook-list.mdx +0 -0
  722. /package/{zh → docs/zh}/guides/topic-detail/framework-plugin/hook.mdx +0 -0
  723. /package/{zh → docs/zh}/guides/topic-detail/framework-plugin/implement.mdx +0 -0
  724. /package/{zh → docs/zh}/guides/topic-detail/framework-plugin/introduction.mdx +0 -0
  725. /package/{zh → docs/zh}/guides/topic-detail/framework-plugin/lifecycle.mdx +0 -0
  726. /package/{zh → docs/zh}/guides/topic-detail/framework-plugin/plugin-api.mdx +0 -0
  727. /package/{zh → docs/zh}/guides/topic-detail/framework-plugin/relationship.mdx +0 -0
  728. /package/{zh → docs/zh}/guides/topic-detail/generator/_category_.json +0 -0
  729. /package/{zh → docs/zh}/guides/topic-detail/generator/codesmith/_category_.json +0 -0
  730. /package/{zh → docs/zh}/guides/topic-detail/generator/codesmith/api/_category_.json +0 -0
  731. /package/{zh → docs/zh}/guides/topic-detail/generator/codesmith/api/app.mdx +0 -0
  732. /package/{zh → docs/zh}/guides/topic-detail/generator/codesmith/api/ejs.mdx +0 -0
  733. /package/{zh → docs/zh}/guides/topic-detail/generator/codesmith/api/fs.mdx +0 -0
  734. /package/{zh → docs/zh}/guides/topic-detail/generator/codesmith/api/git.mdx +0 -0
  735. /package/{zh → docs/zh}/guides/topic-detail/generator/codesmith/api/handlebars.mdx +0 -0
  736. /package/{zh → docs/zh}/guides/topic-detail/generator/codesmith/api/json.mdx +0 -0
  737. /package/{zh → docs/zh}/guides/topic-detail/generator/codesmith/api/npm.mdx +0 -0
  738. /package/{zh → docs/zh}/guides/topic-detail/generator/codesmith/develop.mdx +0 -0
  739. /package/{zh → docs/zh}/guides/topic-detail/generator/codesmith/introduce.mdx +0 -0
  740. /package/{zh → docs/zh}/guides/topic-detail/generator/codesmith/run-in-js.mdx +0 -0
  741. /package/{zh → docs/zh}/guides/topic-detail/generator/codesmith/structure.mdx +0 -0
  742. /package/{zh → docs/zh}/guides/topic-detail/generator/config/_category_.json +0 -0
  743. /package/{zh → docs/zh}/guides/topic-detail/generator/config/app.mdx +0 -0
  744. /package/{zh → docs/zh}/guides/topic-detail/generator/config/common.mdx +0 -0
  745. /package/{zh → docs/zh}/guides/topic-detail/generator/config/module.mdx +0 -0
  746. /package/{zh → docs/zh}/guides/topic-detail/generator/config/monorepo.mdx +0 -0
  747. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/_category_.json +0 -0
  748. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/abstract.mdx +0 -0
  749. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/_category_.json +0 -0
  750. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/file/_category_.json +0 -0
  751. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/file/addFile.mdx +0 -0
  752. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/file/addHelper.mdx +0 -0
  753. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/file/addManyFile.mdx +0 -0
  754. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/file/addPartial.mdx +0 -0
  755. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/file/introduce.mdx +0 -0
  756. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/file/rmDir.mdx +0 -0
  757. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/file/rmFile.mdx +0 -0
  758. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/file/updateJSONFile.mdx +0 -0
  759. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/file/updateModernConfig.mdx +0 -0
  760. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/file/updateTextRawFile.mdx +0 -0
  761. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/git/_category_.json +0 -0
  762. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/git/gitAddAndCommit.mdx +0 -0
  763. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/git/initGitRepo.mdx +0 -0
  764. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/git/isInGitRepo.mdx +0 -0
  765. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/hook/_category_.json +0 -0
  766. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/hook/afterForged.mdx +0 -0
  767. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/hook/onForged.mdx +0 -0
  768. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/info/_category_.json +0 -0
  769. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/info/isFileExit.mdx +0 -0
  770. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/info/locale.mdx +0 -0
  771. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/info/readDir.mdx +0 -0
  772. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/input/_category_.json +0 -0
  773. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/input/addInputAfter.mdx +0 -0
  774. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/input/addInputBefore.mdx +0 -0
  775. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/input/setInput.mdx +0 -0
  776. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/input/setInputValue.mdx +0 -0
  777. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/input/type.mdx +0 -0
  778. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/introduce.mdx +0 -0
  779. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/new/_category_.json +0 -0
  780. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/new/createElement.mdx +0 -0
  781. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/new/createSubProject.mdx +0 -0
  782. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/new/enableFunc.mdx +0 -0
  783. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/new/introduce.mdx +0 -0
  784. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/npm/_category_.json +0 -0
  785. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/api/npm/install.mdx +0 -0
  786. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/develop.mdx +0 -0
  787. /package/{zh → docs/zh}/guides/topic-detail/generator/plugin/use.mdx +0 -0
  788. /package/{zh → docs/zh}/guides/topic-detail/generator/project.mdx +0 -0
  789. /package/{zh → docs/zh}/guides/topic-detail/micro-frontend/_category_.json +0 -0
  790. /package/{zh → docs/zh}/guides/topic-detail/micro-frontend/c01-introduction.mdx +0 -0
  791. /package/{zh → docs/zh}/guides/topic-detail/micro-frontend/c02-development.mdx +0 -0
  792. /package/{zh → docs/zh}/guides/topic-detail/micro-frontend/c03-main-app.mdx +0 -0
  793. /package/{zh → docs/zh}/guides/topic-detail/micro-frontend/c04-communicate.mdx +0 -0
  794. /package/{zh → docs/zh}/guides/topic-detail/micro-frontend/c05-mixed-stack.mdx +0 -0
  795. /package/{zh → docs/zh}/guides/topic-detail/model/_category_.json +0 -0
  796. /package/{zh → docs/zh}/guides/topic-detail/model/auto-actions.mdx +0 -0
  797. /package/{zh → docs/zh}/guides/topic-detail/model/computed-state.mdx +0 -0
  798. /package/{zh → docs/zh}/guides/topic-detail/model/define-model.mdx +0 -0
  799. /package/{zh → docs/zh}/guides/topic-detail/model/faq.mdx +0 -0
  800. /package/{zh → docs/zh}/guides/topic-detail/model/manage-effects.mdx +0 -0
  801. /package/{zh → docs/zh}/guides/topic-detail/model/model-communicate.mdx +0 -0
  802. /package/{zh → docs/zh}/guides/topic-detail/model/performance.mdx +0 -0
  803. /package/{zh → docs/zh}/guides/topic-detail/model/quick-start.mdx +0 -0
  804. /package/{zh → docs/zh}/guides/topic-detail/model/redux-integration.mdx +0 -0
  805. /package/{zh → docs/zh}/guides/topic-detail/model/test-model.mdx +0 -0
  806. /package/{zh → docs/zh}/guides/topic-detail/model/typescript-best-practice.mdx +0 -0
  807. /package/{zh → docs/zh}/guides/topic-detail/model/use-model.mdx +0 -0
  808. /package/{zh → docs/zh}/guides/topic-detail/model/use-out-of-modernjs.mdx +0 -0
  809. /package/{zh → docs/zh}/guides/topic-detail/monorepo/_category_.json +0 -0
  810. /package/{zh → docs/zh}/guides/topic-detail/monorepo/create-sub-project.mdx +0 -0
  811. /package/{zh → docs/zh}/guides/topic-detail/monorepo/intro.mdx +0 -0
  812. /package/{zh → docs/zh}/guides/topic-detail/monorepo/publish.mdx +0 -0
  813. /package/{zh → docs/zh}/guides/topic-detail/monorepo/sub-project-interface.mdx +0 -0
  814. /package/{zh → docs/zh}/guides/troubleshooting/_category_.json +0 -0
  815. /package/{zh → docs/zh}/guides/troubleshooting/cli.mdx +0 -0
  816. /package/{zh → docs/zh}/guides/troubleshooting/dependencies.mdx +0 -0
  817. /package/{zh → docs/zh}/index.md +0 -0
  818. /package/{zh → docs/zh}/tutorials/first-app/_category_.json +0 -0
  819. /package/{zh → docs/zh}/tutorials/first-app/c01-start.mdx +0 -0
  820. /package/{zh → docs/zh}/tutorials/first-app/c02-component.mdx +0 -0
  821. /package/{zh → docs/zh}/tutorials/first-app/c03-css.mdx +0 -0
  822. /package/{zh → docs/zh}/tutorials/first-app/c04-routes.mdx +0 -0
  823. /package/{zh → docs/zh}/tutorials/first-app/c05-loader.mdx +0 -0
  824. /package/{zh → docs/zh}/tutorials/first-app/c06-model.mdx +0 -0
  825. /package/{zh → docs/zh}/tutorials/first-app/c07-container.mdx +0 -0
  826. /package/{zh → docs/zh}/tutorials/first-app/c08-entries.mdx +0 -0
  827. /package/{zh → docs/zh}/tutorials/foundations/_category_.json +0 -0
  828. /package/{zh → docs/zh}/tutorials/foundations/introduction.mdx +0 -0
@@ -0,0 +1,131 @@
1
+ import React from 'react';
2
+ import { useI18n, useUrl } from '../../i18n';
3
+ import styles from './styles.module.scss';
4
+
5
+ const isExternalUrl = (url: string) => {
6
+ return url.startsWith('http://') || url.startsWith('https://');
7
+ };
8
+
9
+ function FooterLink({ to, href, label, ...props }: any) {
10
+ return (
11
+ <a
12
+ className="linkItem"
13
+ target="_blank"
14
+ {...{ href: href || to }}
15
+ {...props}
16
+ >
17
+ {href && isExternalUrl(href) ? <span>{label}</span> : label}
18
+ </a>
19
+ );
20
+ }
21
+
22
+ export default function Footer() {
23
+ const t = useI18n();
24
+ const links = [
25
+ {
26
+ title: t('guide'),
27
+ items: [
28
+ {
29
+ label: t('quickStart'),
30
+ to: useUrl('/guides/get-started/quick-start'),
31
+ },
32
+ {
33
+ label: t('coreConcept'),
34
+ to: useUrl('/guides/concept/entries'),
35
+ },
36
+ {
37
+ label: t('basicFeatures'),
38
+ to: useUrl('/guides/basic-features/'),
39
+ },
40
+ {
41
+ label: t('advancedFeatures'),
42
+ to: useUrl('/guides/advanced-features/'),
43
+ },
44
+ ],
45
+ },
46
+ {
47
+ title: 'API',
48
+ items: [
49
+ {
50
+ label: t('configuration'),
51
+ to: useUrl('/configure/app/usage'),
52
+ },
53
+ {
54
+ label: t('command'),
55
+ to: useUrl('/apis/app/commands'),
56
+ },
57
+ {
58
+ label: t('runtime'),
59
+ to: useUrl('/apis/app/runtime/core/bootstrap'),
60
+ },
61
+ {
62
+ label: t('conventions'),
63
+ to: useUrl('apis/app/hooks/src/app'),
64
+ },
65
+ ],
66
+ },
67
+ {
68
+ title: t('topic'),
69
+ items: [
70
+ {
71
+ label: t('microFrontend'),
72
+ to: useUrl('/guides/topic-detail/micro-frontend/c01-introduction'),
73
+ },
74
+ {
75
+ label: t('stateManagement'),
76
+ to: useUrl('/guides/topic-detail/model/quick-start'),
77
+ },
78
+ {
79
+ label: t('pluginSystem'),
80
+ to: useUrl('/guides/topic-detail/framework-plugin/introduction'),
81
+ },
82
+ {
83
+ label: t('projectGenerator'),
84
+ to: useUrl('/guides/topic-detail/generator/project'),
85
+ },
86
+ ],
87
+ },
88
+ {
89
+ title: t('help'),
90
+ items: [
91
+ {
92
+ label: t('changelog'),
93
+ to: 'https://github.com/web-infra-dev/modern.js/releases',
94
+ },
95
+ {
96
+ label: 'GitHub Issues',
97
+ to: 'https://github.com/web-infra-dev/modern.js/issues',
98
+ },
99
+ {
100
+ label: t('githubDiscussion'),
101
+ to: 'https://github.com/web-infra-dev/modern.js/discussions',
102
+ },
103
+ ],
104
+ },
105
+ ];
106
+
107
+ const Links = links.map((linkItem, i) => (
108
+ <div className={styles.linkWrapper} key={i}>
109
+ <div className={styles.linkTitle}>{linkItem.title}</div>
110
+ <ul className={styles.items}>
111
+ {linkItem.items.map((item, key) => (
112
+ <li key={item.to || key} className={styles.link}>
113
+ <FooterLink {...item} />
114
+ </li>
115
+ ))}
116
+ </ul>
117
+ </div>
118
+ ));
119
+
120
+ return (
121
+ <footer className={styles.footer}>
122
+ <div className={styles.wrapper}>
123
+ <img
124
+ className={styles.logo}
125
+ src="https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/modern-logo-home-page-0209.svg"
126
+ />
127
+ <div className={styles.linksWrapper}>{Links}</div>
128
+ </div>
129
+ </footer>
130
+ );
131
+ }
@@ -0,0 +1,49 @@
1
+ .footer {
2
+ margin-top: 6vh;
3
+ display: flex;
4
+ justify-content: center;
5
+ padding: 10vh 0;
6
+ }
7
+
8
+ .logo {
9
+ width: 240px;
10
+ margin-bottom: 48px;
11
+ }
12
+
13
+ .wrapper {
14
+ width: 80vw;
15
+ max-width: 1200px;
16
+ }
17
+
18
+ .linksWrapper {
19
+ display: flex;
20
+ justify-content: space-between;
21
+ flex-wrap: wrap;
22
+ }
23
+
24
+ .linkTitle {
25
+ font-weight: bold;
26
+ font-size: 18px;
27
+ margin-bottom: 12px;
28
+ color: rgba(255, 255, 255, 0.9);
29
+ }
30
+
31
+ .linkWrapper {
32
+ margin-bottom: 24px;
33
+ }
34
+
35
+ .link {
36
+ line-height: 32px;
37
+ font-size: 15px;
38
+ color: rgba(255, 255, 255, 0.8);
39
+
40
+ &:hover {
41
+ color: rgba(255, 255, 255, 1);
42
+ }
43
+ }
44
+
45
+ @media (max-width: 768px) {
46
+ .linkWrapper {
47
+ width: 50%;
48
+ }
49
+ }
@@ -0,0 +1,58 @@
1
+
2
+ .card{
3
+ display: flex;
4
+ max-width: 32%;
5
+ flex: 1 1 32%;
6
+ align-items: center;
7
+ margin-left: 16px;
8
+ margin-bottom: 16px;
9
+ height: 135px;
10
+ padding: 0 35.4px;
11
+ color: #FFFFFF;
12
+ background: rgba(255, 255, 255, 0.1);
13
+ border: 1px solid rgba(255, 255, 255, 0.2);
14
+ box-sizing: border-box;
15
+ border-radius: 8px;
16
+ cursor: pointer;
17
+ transition: all 0.3s ease;
18
+ }
19
+
20
+ .card:hover{
21
+ transition: all 0.3s ease;
22
+ background: rgba(78, 202, 255, 0.2);
23
+ }
24
+ .desc{
25
+ display: inline-block;
26
+ margin-left: 20px;
27
+ color: #fff;
28
+ }
29
+
30
+ .icon{
31
+ width: 48px;
32
+ height: 48px;
33
+ fill: #fff;
34
+ flex: 0 0 48px;
35
+ }
36
+
37
+ @media screen and (min-width: 966px) and (max-width: 1300px) {
38
+ .card{
39
+ max-width: 48%;
40
+ flex: 1 1 48%;
41
+ }
42
+ }
43
+
44
+ @media screen and (max-width: 966px) {
45
+ .card{
46
+ width: 100%;
47
+ height: 70px;
48
+ margin: 0;
49
+ margin-bottom: 12px;
50
+ padding: 0 31px;
51
+ max-width: none;
52
+ flex: none;
53
+ }
54
+ .icon{
55
+ width: 20px;
56
+ height: 20px;
57
+ }
58
+ }
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import { withBase } from '@modern-js/doc-tools/runtime';
3
+ import styles from './index.module.css';
4
+
5
+ export interface ICardProps {
6
+ desc: string;
7
+ icon: string;
8
+ href: string;
9
+ }
10
+
11
+ const ListCard: React.FC<ICardProps> = ({ desc, icon: Icon, href }) => (
12
+ <a
13
+ className={styles.card}
14
+ href={withBase(href)}
15
+ style={{ textDecoration: 'none' }}
16
+ >
17
+ {typeof Icon === 'function' ? (
18
+ <Icon className={styles.icon} />
19
+ ) : (
20
+ <img src={Icon} className={styles.icon} />
21
+ )}
22
+ <span className={styles.desc}>{desc}</span>
23
+ </a>
24
+ );
25
+
26
+ export default ListCard;
@@ -0,0 +1,14 @@
1
+ .titleWrap {
2
+ display: flex;
3
+ justify-content: space-between;
4
+ background-image: url(https://lf3-static.bytednsdoc.com/obj/eden-cn/aphqeh7uhohpquloj/modern-js/text-bg.png);
5
+ background-size: 374px 32.7px;
6
+ background-repeat: no-repeat;
7
+ }
8
+ .title {
9
+ padding-top: 32px;
10
+ color: #fff;
11
+ font-size: 48px;
12
+ font-weight: bold;
13
+ margin-bottom: 48px;
14
+ }
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import styles from './index.module.css';
3
+
4
+ interface ITitleProps {
5
+ seqNum?: number;
6
+ children: React.ReactNode;
7
+ }
8
+
9
+ const SecondaryTitle: React.FC<ITitleProps> = ({ children }) => (
10
+ <div className={styles.titleWrap}>
11
+ <h2 className={styles.title}>{children}</h2>
12
+ </div>
13
+ );
14
+
15
+ export default SecondaryTitle;
@@ -0,0 +1,28 @@
1
+ declare module '*.module.css' {
2
+ const classes: { readonly [key: string]: string };
3
+ export default classes;
4
+ }
5
+
6
+ declare module '*.module.scss' {
7
+ const classes: { readonly [key: string]: string };
8
+ export default classes;
9
+ }
10
+
11
+ declare module '*.module.sass' {
12
+ const classes: { readonly [key: string]: string };
13
+ export default classes;
14
+ }
15
+
16
+ declare module '*.module.less' {
17
+ const classes: { readonly [key: string]: string };
18
+ export default classes;
19
+ }
20
+
21
+ declare module '*.svg' {
22
+ export const ReactComponent: React.FunctionComponent<
23
+ React.SVGProps<SVGSVGElement>
24
+ >;
25
+
26
+ const content: string;
27
+ export default content;
28
+ }
@@ -0,0 +1,50 @@
1
+ export const EN_US = {
2
+ introduction: 'Introduction',
3
+ quickStart: 'Quick Start',
4
+
5
+ // Slogans
6
+ slogan: 'A Progressive React Framework for modern web development',
7
+ secondSlogan1: 'Enjoy the development experience.',
8
+ secondSlogan2: 'Make innovation happen faster.',
9
+
10
+ // Features
11
+ feature1: 'Rust Bundler',
12
+ featureDesc1: 'Easily switch to Rspack bundler with faster build speed.',
13
+ feature2: 'Integrated BFF',
14
+ featureDesc2:
15
+ 'Develop BFF code in the same project, enjoy simple function calls.',
16
+ feature3: 'Nested Routes',
17
+ featureDesc3: 'File-as-route, comes with lots performance optimizations.',
18
+ feature4: 'Multi-Rendering Mode',
19
+ featureDesc4: 'SSR, SSG, SPR, all out of the box for you.',
20
+ feature5: 'CSS Solutions',
21
+ featureDesc5: 'CSS Modules, CSS-in-JS, TailwindCSS, take your pick.',
22
+ feature6: 'Easy to Configure',
23
+ featureDesc6:
24
+ 'Launch with zero configuration, then everything is configurable.',
25
+
26
+ // Solutions
27
+ solutions: 'Solutions',
28
+ solutionsDesc1: 'A progressive React framework for web development.',
29
+ solutionsDesc2: 'A powerful solution for npm package development.',
30
+ solutionsDesc3: 'A documentation site solution with modern tech stack.',
31
+ solutionsDesc4: 'A Build Engine for web development.',
32
+
33
+ // Footer
34
+ guide: 'Guide',
35
+ topic: 'Topic',
36
+ help: 'Help',
37
+ coreConcept: 'Core Concept',
38
+ basicFeatures: 'Basic Features',
39
+ advancedFeatures: 'Advanced Features',
40
+ configuration: 'Configuration',
41
+ command: 'Command',
42
+ runtime: 'Runtime',
43
+ conventions: 'Conventions',
44
+ microFrontend: 'Micro Frontend',
45
+ stateManagement: 'State Management',
46
+ pluginSystem: 'Plugin System',
47
+ projectGenerator: 'Project Generator',
48
+ githubDiscussion: 'Github Discussion',
49
+ changelog: 'Changelog',
50
+ } as const;
@@ -0,0 +1,18 @@
1
+ import { withBase, useLang } from '@modern-js/doc-tools/runtime';
2
+ import { EN_US } from './enUS';
3
+ import { ZH_CN } from './zhCN';
4
+
5
+ const translations = {
6
+ en: EN_US,
7
+ zh: ZH_CN,
8
+ } as const;
9
+
10
+ export function useUrl(url: string) {
11
+ const lang = useLang();
12
+ return withBase(lang === 'zh' ? url : `/en${url}`);
13
+ }
14
+
15
+ export function useI18n() {
16
+ const lang = useLang() as keyof typeof translations;
17
+ return (key: keyof typeof EN_US) => translations[lang][key];
18
+ }
@@ -0,0 +1,50 @@
1
+ import { EN_US } from './enUS';
2
+
3
+ export const ZH_CN: Record<keyof typeof EN_US, string> = {
4
+ introduction: '介绍',
5
+ quickStart: '快速上手',
6
+
7
+ // Slogans
8
+ slogan: '基于 React 的渐进式 Web 开发框架',
9
+ secondSlogan1: '享受愉悦的开发体验,',
10
+ secondSlogan2: '让创新更快发生。',
11
+
12
+ // Features
13
+ feature1: 'Rust 构建',
14
+ featureDesc1: '轻松切换到 Rspack 构建工具,编译飞快。',
15
+ feature2: '一体化开发',
16
+ featureDesc2: '在同一项目中完成 BFF 开发,享受简洁的函数调用。',
17
+ feature3: '嵌套路由',
18
+ featureDesc3: '文件系统即路由,附赠全套性能优化。',
19
+ feature4: '多渲染模式',
20
+ featureDesc4: 'SSR、SSG、SPR 等多种渲染模式,通通开箱即用。',
21
+ feature5: 'CSS 方案',
22
+ featureDesc5: 'CSS Modules、CSS-in-JS、TailwindCSS,任你挑选。',
23
+ feature6: '易于配置',
24
+ featureDesc6: '以零配置启动,然后一切皆可配置。',
25
+
26
+ // Solutions
27
+ solutions: '解决方案',
28
+ solutionsDesc1: '基于 React 的渐进式 Web 开发框架。',
29
+ solutionsDesc2: '简单、高性能的 npm 包开发方案。',
30
+ solutionsDesc3: '现代文档站解决方案。',
31
+ solutionsDesc4: '面向 Web 开发场景的构建引擎。',
32
+
33
+ // Footer
34
+ guide: '指南',
35
+ topic: '专题',
36
+ help: '帮助',
37
+ coreConcept: '核心概念',
38
+ basicFeatures: '基础功能',
39
+ advancedFeatures: '进阶功能',
40
+ configuration: '配置',
41
+ command: '命令',
42
+ runtime: '运行时',
43
+ conventions: '目录约定',
44
+ microFrontend: '微前端',
45
+ stateManagement: '状态管理',
46
+ pluginSystem: '插件系统',
47
+ projectGenerator: '项目生成器',
48
+ githubDiscussion: 'Github 讨论区',
49
+ changelog: '更新日志',
50
+ };
package/src/index.ts ADDED
@@ -0,0 +1,9 @@
1
+ import Theme from '@modern-js/doc-tools/theme';
2
+ import HomeLayout from './pages';
3
+
4
+ export default {
5
+ ...Theme,
6
+ HomeLayout,
7
+ };
8
+
9
+ export * from '@modern-js/doc-tools/theme';
@@ -0,0 +1,238 @@
1
+ /**
2
+ * CSS files with the .module.css suffix will be treated as CSS modules
3
+ * and scoped locally.
4
+ */
5
+
6
+ /* === Header Start === */
7
+ .header {
8
+ display: flex;
9
+ justify-content: center;
10
+ background-color: #000;
11
+ background-image: url(https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/homepage-bg-0209.png);
12
+ background-size: cover;
13
+ background-position: center bottom;
14
+ background-origin: border-box;
15
+ height: 100vh;
16
+ min-height: 700px;
17
+ max-height: 900px;
18
+ }
19
+
20
+ .heroBanner {
21
+ display: flex;
22
+ width: 80vw;
23
+ max-width: 1200px;
24
+ margin-top: 56px;
25
+ flex-direction: column;
26
+ justify-content: flex-start;
27
+ position: relative;
28
+ overflow: hidden;
29
+ box-sizing: border-box;
30
+ align-items: flex-start;
31
+ padding-top: 20vh;
32
+ }
33
+
34
+ .title {
35
+ font-style: normal;
36
+ font-weight: bold;
37
+ font-size: 3.4rem;
38
+ line-height: 1.6;
39
+ color: hsl(198deg 100% 90%);
40
+ }
41
+
42
+ .titleGradient {
43
+ background: -webkit-linear-gradient(
44
+ 305deg,
45
+ hsl(166deg 77% 53%) 10%,
46
+ hsl(198deg, 100%, 60%)
47
+ );
48
+ background-clip: text;
49
+ -webkit-background-clip: text;
50
+ -webkit-text-fill-color: transparent;
51
+ }
52
+
53
+ .buttons {
54
+ display: flex;
55
+ justify-content: center;
56
+ margin-top: 8vh;
57
+ }
58
+
59
+ .leftButton,
60
+ .rightButton {
61
+ width: 168px;
62
+
63
+ &:hover {
64
+ text-decoration: none;
65
+ }
66
+ }
67
+
68
+ .startArrow {
69
+ margin-left: 8px;
70
+ margin-top: 1px;
71
+ }
72
+
73
+ .leftButton {
74
+ display: flex;
75
+ justify-content: center;
76
+ align-items: center;
77
+ line-height: 48px;
78
+ height: 48px;
79
+ background: linear-gradient(274.85deg, #4ecaff 3%, #64cfde 97.17%);
80
+ box-shadow: 0px 1px 8px rgba(133, 250, 202, 0.34);
81
+ border-radius: 39px;
82
+ color: #000000;
83
+ cursor: pointer;
84
+ opacity: 0.9;
85
+ transition: opacity 0.3s ease;
86
+
87
+ &:hover {
88
+ opacity: 1;
89
+ color: #000;
90
+ }
91
+ }
92
+
93
+ .rightButton {
94
+ display: flex;
95
+ height: 49px;
96
+ justify-content: center;
97
+ align-items: center;
98
+ background: #0d0d0d;
99
+ border: 1px solid #4ecaff;
100
+ box-sizing: border-box;
101
+ border-radius: 39px;
102
+ margin-left: 32px;
103
+ cursor: pointer;
104
+ color: #4ecaff;
105
+ transition: all 0.3s ease;
106
+
107
+ &:hover {
108
+ color: rgba(132, 218, 255, 1);
109
+ border: 1px solid #84daff;
110
+ }
111
+ }
112
+
113
+ @media (max-width: 1600px) {
114
+ .logo {
115
+ width: 420px;
116
+ }
117
+
118
+ .title {
119
+ font-size: 3.1rem;
120
+ }
121
+ }
122
+
123
+ @media screen and (max-width: 768px) {
124
+ .header {
125
+ background-image: url(https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/homepage-mobile-bg-0209.png);
126
+ }
127
+ .heroBanner {
128
+ align-items: center;
129
+ }
130
+ .title {
131
+ font-size: 7vw;
132
+ text-align: center;
133
+ }
134
+ .buttons {
135
+ width: 65%;
136
+ justify-content: center;
137
+ align-items: center;
138
+ flex-direction: column;
139
+ margin-top: 50px;
140
+ }
141
+ .leftButton,
142
+ .rightButton {
143
+ width: 100%;
144
+ }
145
+ .rightButton {
146
+ margin-left: 0;
147
+ margin-top: 32px;
148
+ }
149
+ .singleImg {
150
+ max-width: 100%;
151
+ }
152
+ }
153
+
154
+ @media screen and (max-width: 540px) {
155
+ .title {
156
+ font-size: 9vw;
157
+ }
158
+ }
159
+
160
+ /* === Header End === */
161
+
162
+ .cardContainer {
163
+ display: flex;
164
+ flex-wrap: wrap;
165
+ margin-top: 16px;
166
+ }
167
+
168
+ .homepage-main {
169
+ background-color: #0d0d0d;
170
+ }
171
+
172
+ .flowContainer {
173
+ position: relative;
174
+ width: 1021px;
175
+ max-width: 100%;
176
+ margin: 0 auto;
177
+ height: 1261px;
178
+ overflow-y: hidden;
179
+ }
180
+
181
+ .flowLine {
182
+ position: absolute;
183
+ width: 95px;
184
+ left: 50%;
185
+ transform: translateX(-50%);
186
+ }
187
+
188
+ .flowLineMobile {
189
+ left: 30px;
190
+ width: 37.5px;
191
+ }
192
+
193
+ .singleImgWrap {
194
+ display: flex;
195
+ justify-content: center;
196
+ width: 100%;
197
+ margin-top: 48px;
198
+ border: 1px solid #6f6f6f;
199
+ border-radius: 8px;
200
+ }
201
+
202
+ .singleImg {
203
+ max-width: 910px;
204
+ object-fit: contain;
205
+ }
206
+
207
+ .singleImgCard {
208
+ margin-bottom: 16px;
209
+ transition: all 0.3s ease;
210
+ }
211
+
212
+ .singleImgCard:hover {
213
+ background: rgba(78, 202, 255, 0.2);
214
+ transition: all 0.3s ease;
215
+ }
216
+
217
+ @media screen and (max-width: 700px) {
218
+ .section-title {
219
+ font-size: 1rem;
220
+ font-size: 4vw;
221
+ margin-top: 1rem;
222
+ margin-bottom: 1rem;
223
+ }
224
+ .singleImg {
225
+ max-width: 100%;
226
+ }
227
+ }
228
+
229
+ @media screen and (max-width: 1100px) {
230
+ .flowContainer {
231
+ height: auto;
232
+ overflow: visible;
233
+ }
234
+ }
235
+
236
+ :global(.modern-doc-logo) {
237
+ width: auto !important;
238
+ }