docs: 更新qiankun的demo

This commit is contained in:
wanchun 2023-03-02 16:03:06 +08:00
parent ec5c5eac76
commit fbf1441101
9 changed files with 28 additions and 10 deletions

3
.gitignore vendored
View File

@ -7,7 +7,8 @@
.temp
.hound
.fes
.fes*
.fes-develop
.fes-production
dist
*.log
node_modules

View File

@ -59,7 +59,5 @@ export default {
require.resolve('../../../fes-plugin-model/lib'),
require.resolve('../../../fes-plugin-layout/lib'),
require.resolve('../../../fes-plugin-access/lib'),
require.resolve('../../../fes-plugin-qiankun/lib'),
],
presets: [require.resolve('../../../fes-builder-vite/lib')],
};

View File

@ -44,7 +44,9 @@
},
"dependencies": {
"vue": "^3.2.37",
"@fesjs/fes": "^2.0.0",
"@fesjs/fes": "^3.0.0-rc.0",
"@fesjs/builder-vite": "^3.0.0-rc.4",
"@fesjs/plugin-qiankun": "3.0.0-rc.0",
"@fesjs/fes-design": "^0.7.0"
},
"private": true

View File

@ -0,0 +1,8 @@
// .fes.js 只负责管理编译时配置只能使用plain Object
export default {
qiankun: {
micro: {
useDevMode: true,
},
},
};

View File

@ -43,7 +43,9 @@
"access": "public"
},
"dependencies": {
"@fesjs/fes": "^2.0.0",
"@fesjs/fes": "^3.0.0-rc.0",
"@fesjs/builder-vite": "^3.0.0-rc.4",
"@fesjs/plugin-qiankun": "3.0.0-rc.0",
"vue": "^3.2.37",
"@fesjs/fes-design": "^0.7.0"
},

View File

@ -58,7 +58,5 @@ export default {
require.resolve('../../../fes-plugin-model/lib'),
require.resolve('../../../fes-plugin-layout/lib'),
require.resolve('../../../fes-plugin-access/lib'),
require.resolve('../../../fes-plugin-qiankun/lib'),
],
presets: [require.resolve('../../../fes-builder-webpack/lib')],
};

View File

@ -43,7 +43,9 @@
"access": "public"
},
"dependencies": {
"@fesjs/fes": "^2.0.0",
"@fesjs/fes": "^3.0.0-rc.0",
"@fesjs/builder-webpack": "^3.0.0-rc.5",
"@fesjs/plugin-qiankun": "3.0.0-rc.0",
"vue": "^3.2.37",
"@fesjs/fes-design": "^0.7.0"
},

View File

@ -0,0 +1,6 @@
// .fes.js 只负责管理编译时配置只能使用plain Object
export default {
qiankun: {
micro: {},
},
};

View File

@ -43,8 +43,9 @@
"access": "public"
},
"dependencies": {
"@fesjs/fes": "^2.0.0",
"@fesjs/builder-webpack": "^1.0.0",
"@fesjs/fes": "^3.0.0-rc.0",
"@fesjs/builder-webpack": "^3.0.0-rc.5",
"@fesjs/plugin-qiankun": "3.0.0-rc.0",
"vue": "^3.2.37",
"@fesjs/fes-design": "^0.7.0"
},