@modern-js/main-doc 0.0.0-nightly-20240613170702 → 0.0.0-nightly-20240615170633
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/en/guides/get-started/introduction.mdx +1 -1
- package/docs/en/guides/topic-detail/generator/create/config.mdx +0 -6
- package/docs/en/guides/topic-detail/generator/new/use.md +1 -1
- package/docs/zh/guides/get-started/introduction.mdx +1 -1
- package/docs/zh/guides/topic-detail/generator/create/config.mdx +0 -6
- package/docs/zh/guides/topic-detail/generator/new/use.md +1 -1
- package/package.json +5 -5
@@ -54,7 +54,7 @@ It mainly includes the following features:
|
|
54
54
|
- 🪜 **Progressive**: Create projects with the most streamlined templates, gradually enable plugin features through the generator, and customize solutions.
|
55
55
|
- 🏠 **Integration**: Development and production environment web server are unique, CSR and SSR are isomorphic development, and API service calls are functions as interfaces.
|
56
56
|
- 📦 **Out Of The Box**: Default TS support, built-in build, ESLint, debugging tools, fully functional and testable.
|
57
|
-
- 🌏 **Ecology**: Self-developed state management, micro-frontend, module packaging,
|
57
|
+
- 🌏 **Ecology**: Self-developed state management, micro-frontend, module packaging, and other peripheral needs.
|
58
58
|
- 🕸 **Routing Modes**: Includes self-controlled routing, file-convention-based routing (nested routing), etc.
|
59
59
|
|
60
60
|
## Comparison with Others
|
@@ -22,8 +22,6 @@ Options:
|
|
22
22
|
|
23
23
|
- Doc Site -- doc
|
24
24
|
|
25
|
-
- Monorepo -- monorepo
|
26
|
-
|
27
25
|
### scenes
|
28
26
|
|
29
27
|
Question: Please select the project scenario.
|
@@ -69,7 +67,3 @@ The value of the `name` field in the `package.json` file of the Npm module, whic
|
|
69
67
|
## Modern Doc
|
70
68
|
|
71
69
|
<PackageManager />
|
72
|
-
|
73
|
-
## Monorepo
|
74
|
-
|
75
|
-
<PackageManager />
|
@@ -4,7 +4,7 @@ sidebar_position: 1
|
|
4
4
|
|
5
5
|
# Usage
|
6
6
|
|
7
|
-
In Web App, Npm Module
|
7
|
+
In Web App, Npm Module projects, we provide the `new` command to create project elements, enable features and create sub-project.
|
8
8
|
|
9
9
|
## Web App
|
10
10
|
|
@@ -52,7 +52,7 @@ Modern.js 能为开发者提供极致的**开发体验(Development Experience
|
|
52
52
|
- 🪜 **渐进式**:使用最精简的模板创建项目,通过生成器逐步开启插件功能,定制解决方案。
|
53
53
|
- 🏠 **一体化**:开发与生产环境 Web Server 唯一,CSR 和 SSR 同构开发,函数即接口的 API 服务调用。
|
54
54
|
- 📦 **开箱即用**:默认 TS 支持,内置构建、ESLint、调试工具,全功能可测试。
|
55
|
-
- 🌏
|
55
|
+
- 🌏 **周边生态**:自研状态管理、微前端、模块打包等周边需求。
|
56
56
|
- 🕸 **多种路由模式**:包含自控路由、基于文件约定的路由(嵌套路由)等。
|
57
57
|
|
58
58
|
## 和其他框架的对比
|
package/package.json
CHANGED
@@ -15,17 +15,17 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "0.0.0-nightly-
|
18
|
+
"version": "0.0.0-nightly-20240615170633",
|
19
19
|
"publishConfig": {
|
20
20
|
"registry": "https://registry.npmjs.org/",
|
21
21
|
"access": "public",
|
22
22
|
"provenance": true
|
23
23
|
},
|
24
24
|
"dependencies": {
|
25
|
-
"@modern-js/sandpack-react": "0.0.0-nightly-
|
25
|
+
"@modern-js/sandpack-react": "0.0.0-nightly-20240615170633"
|
26
26
|
},
|
27
27
|
"peerDependencies": {
|
28
|
-
"@modern-js/builder-doc": "0.0.0-nightly-
|
28
|
+
"@modern-js/builder-doc": "0.0.0-nightly-20240615170633"
|
29
29
|
},
|
30
30
|
"devDependencies": {
|
31
31
|
"classnames": "^2",
|
@@ -39,8 +39,8 @@
|
|
39
39
|
"@rspress/shared": "1.18.2",
|
40
40
|
"@types/node": "^16",
|
41
41
|
"@types/fs-extra": "9.0.13",
|
42
|
-
"@modern-js/builder-doc": "0.0.0-nightly-
|
43
|
-
"@modern-js/doc-plugin-auto-sidebar": "0.0.0-nightly-
|
42
|
+
"@modern-js/builder-doc": "0.0.0-nightly-20240615170633",
|
43
|
+
"@modern-js/doc-plugin-auto-sidebar": "0.0.0-nightly-20240615170633"
|
44
44
|
},
|
45
45
|
"scripts": {
|
46
46
|
"dev": "rspress dev",
|