Skip to content

Commit

Permalink
docs(builder): extract doc fragment from Vue guide (#4679)
Browse files Browse the repository at this point in the history
* docs(builder): extract doc fragment from Vue guide

* docs: fix link
  • Loading branch information
chenjiahan authored Sep 19, 2023
1 parent dff7960 commit 93e4a01
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@ Although the Modern.js framework is built on React, the underlying Modern.js Bui

In this document, you will learn how to build a Vue 2 application using Modern.js Builder.

## Example Project
import Vue2Project from '@en/shared/vue2Project.md';

We have created an example project based on Vue 2 and Modern.js Builder. You can build your own project by referring this project, or just cloning it as a template. The following documentation will provide more detailed instructions.

- [modern-js-examples - builder-vue2](https://github.com/web-infra-dev/modern-js-examples/tree/main/examples/builder-vue2)
- [modern-js-examples - builder-vue2-rspack](https://github.com/web-infra-dev/modern-js-examples/tree/main/examples/builder-vue2-rspack)
<Vue2Project />

import CliToolVue from '@en/shared/cliToolVue.md';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@ Although the Modern.js framework is built on React, the underlying Modern.js Bui

In this document, you will learn how to build a Vue 3 application using Modern.js Builder.

## Example Project
import Vue3Project from '@en/shared/vue3Project.md';

We have created an example project based on Vue 3 and Modern.js Builder. You can build your own project by referring this project, or just cloning it as a template. The following documentation will provide more detailed instructions.

- [modern-js-examples - builder-vue3](https://github.com/web-infra-dev/modern-js-examples/tree/main/examples/builder-vue3)
- [modern-js-examples - builder-vue3-rspack](https://github.com/web-infra-dev/modern-js-examples/tree/main/examples/builder-vue3-rspack)
<Vue3Project />

import CliToolVue from '@en/shared/cliToolVue.md';

Expand Down
6 changes: 6 additions & 0 deletions packages/document/builder-doc/docs/en/shared/vue2Project.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Example Project

We have created an example project based on Vue 2 and Modern.js Builder. You can build your own project by referring this project, or just cloning it as a template. The following documentation will provide more detailed instructions.

- [modern-js-examples - builder-vue2](https://github.com/web-infra-dev/modern-js-examples/tree/main/examples/builder-vue2)
- [modern-js-examples - builder-vue2-rspack](https://github.com/web-infra-dev/modern-js-examples/tree/main/examples/builder-vue2-rspack)
6 changes: 6 additions & 0 deletions packages/document/builder-doc/docs/en/shared/vue3Project.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Example Project

We have created an example project based on Vue 3 and Modern.js Builder. You can build your own project by referring this project, or just cloning it as a template. The following documentation will provide more detailed instructions.

- [modern-js-examples - builder-vue3](https://github.com/web-infra-dev/modern-js-examples/tree/main/examples/builder-vue3)
- [modern-js-examples - builder-vue3-rspack](https://github.com/web-infra-dev/modern-js-examples/tree/main/examples/builder-vue3-rspack)
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@

在这篇文档中,你可以了解到如何基于 Modern.js Builder 来构建一个 Vue 2 应用。

## 示例项目
import Vue2Project from '@zh/shared/vue2Project.md';

我们搭建了一个基于 Modern.js Builder 的 Vue 2 示例项目,你可以参考或直接克隆这个项目,并对照下文的指南来了解更多细节。

- [modern-js-examples - builder-vue2](https://github.com/web-infra-dev/modern-js-examples/tree/main/examples/builder-vue2)
- [modern-js-examples - builder-vue2-rspack](https://github.com/web-infra-dev/modern-js-examples/tree/main/examples/builder-vue2-rspack)
<Vue2Project />

import CliToolVue from '@zh/shared/cliToolVue.md';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@

在这篇文档中,你可以了解到如何基于 Modern.js Builder 来构建一个 Vue 3 应用。

## 示例项目
import Vue3Project from '@zh/shared/vue3Project.md';

我们搭建了一个基于 Modern.js Builder 的 Vue 3 示例项目,你可以参考或直接克隆这个项目,并对照下文的指南来了解更多细节。

- [modern-js-examples - builder-vue3](https://github.com/web-infra-dev/modern-js-examples/tree/main/examples/builder-vue3)
- [modern-js-examples - builder-vue3-rspack](https://github.com/web-infra-dev/modern-js-examples/tree/main/examples/builder-vue3-rspack)
<Vue3Project />

import CliToolVue from '@zh/shared/cliToolVue.md';

Expand Down
6 changes: 6 additions & 0 deletions packages/document/builder-doc/docs/zh/shared/vue2Project.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## 示例项目

我们搭建了一个基于 Modern.js Builder 的 Vue 2 示例项目,你可以参考或直接克隆这个项目,并对照下文的指南来了解更多细节。

- [modern-js-examples - builder-vue2](https://github.com/web-infra-dev/modern-js-examples/tree/main/examples/builder-vue2)
- [modern-js-examples - builder-vue2-rspack](https://github.com/web-infra-dev/modern-js-examples/tree/main/examples/builder-vue2-rspack)
6 changes: 6 additions & 0 deletions packages/document/builder-doc/docs/zh/shared/vue3Project.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## 示例项目

我们搭建了一个基于 Modern.js Builder 的 Vue 3 示例项目,你可以参考或直接克隆这个项目,并对照下文的指南来了解更多细节。

- [modern-js-examples - builder-vue3](https://github.com/web-infra-dev/modern-js-examples/tree/main/examples/builder-vue3)
- [modern-js-examples - builder-vue3-rspack](https://github.com/web-infra-dev/modern-js-examples/tree/main/examples/builder-vue3-rspack)

0 comments on commit 93e4a01

Please sign in to comment.