Skip to content

Commit 78f5722

Browse files
committed
3.x
2 parents bfb0a0e + 8e6a430 commit 78f5722

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+22468
-9482
lines changed

.browserslist

Lines changed: 0 additions & 3 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
.DS_Store
21
node_modules
2+
.DS_Store
33
dist
4-
# local env files
5-
.env.local
6-
.env.*.local
7-
8-
# Log files
9-
npm-debug.log*
10-
yarn-debug.log*
11-
yarn-error.log*
12-
13-
# Editor directories and files
14-
.idea
15-
.vscode
16-
*.suo
17-
*.ntvs*
18-
*.njsproj
19-
*.sln
20-
*.sw*
4+
dist-ssr
5+
*.local

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"volar.tsPlugin": true
3+
}

README.md

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,7 @@
11
# vue-module-loader
22

3-
> [next](https://github.com/mqhe2007/vue-module-loader/tree/next)分支支持 Vue3,并已进入候选测试阶段,欢迎验证。
4-
5-
vue-module-loader 是一个 Vue 插件,让你使用类似于[微前端](https://www.thoughtworks.com/radar/techniques/micro-frontends)的架构开发 Vue 应用。
6-
7-
Let you use the micro front-end architecture to build Vue applications
8-
9-
推荐使用`vue-module-creator`生成样板工程。
10-
11-
```
12-
$ yarn global add vue-module-creator
13-
$ vmc create
14-
```
3+
[文档](https://mqhe2007.github.io/vue-module-loader-doc/)
154

165
## 谁在使用
176

187
![guogongzhineng](https://user-images.githubusercontent.com/13450661/122190121-1ec3ea80-cec4-11eb-87bf-1f657c70ae8a.png)
19-
20-
## 安装
21-
22-
```
23-
yarn add vue-module-loader
24-
```
25-
26-
## 快速开始
27-
28-
```javascript
29-
// 导入插件
30-
import Vue from 'vue'
31-
import vueModuleLoader from 'vue-module-loader'
32-
// 安装使用,配置项中router实例和store实例必传。
33-
Vue.use(vueModuleLoader, { router, store })
34-
const app = new Vue({...})
35-
// 使用插件提供的能力
36-
app.$moduleLoader({
37-
module1: '//domain.com/module1.js'
38-
})
39-
```

babel.config.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

doc/.vuepress/config.js

Lines changed: 0 additions & 28 deletions
This file was deleted.

doc/README.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

doc/api/README.md

Lines changed: 0 additions & 137 deletions
This file was deleted.

0 commit comments

Comments
 (0)