mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-05 11:18:54 +08:00
docs: 更新qiankun的demo
This commit is contained in:
parent
ec5c5eac76
commit
fbf1441101
3
.gitignore
vendored
3
.gitignore
vendored
@ -7,7 +7,8 @@
|
|||||||
.temp
|
.temp
|
||||||
.hound
|
.hound
|
||||||
.fes
|
.fes
|
||||||
.fes*
|
.fes-develop
|
||||||
|
.fes-production
|
||||||
dist
|
dist
|
||||||
*.log
|
*.log
|
||||||
node_modules
|
node_modules
|
||||||
|
@ -59,7 +59,5 @@ export default {
|
|||||||
require.resolve('../../../fes-plugin-model/lib'),
|
require.resolve('../../../fes-plugin-model/lib'),
|
||||||
require.resolve('../../../fes-plugin-layout/lib'),
|
require.resolve('../../../fes-plugin-layout/lib'),
|
||||||
require.resolve('../../../fes-plugin-access/lib'),
|
require.resolve('../../../fes-plugin-access/lib'),
|
||||||
require.resolve('../../../fes-plugin-qiankun/lib'),
|
|
||||||
],
|
],
|
||||||
presets: [require.resolve('../../../fes-builder-vite/lib')],
|
|
||||||
};
|
};
|
||||||
|
@ -44,7 +44,9 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"vue": "^3.2.37",
|
"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"
|
"@fesjs/fes-design": "^0.7.0"
|
||||||
},
|
},
|
||||||
"private": true
|
"private": true
|
||||||
|
8
packages/fes-plugin-qiankun/examples/vite-micro/.fes.js
Normal file
8
packages/fes-plugin-qiankun/examples/vite-micro/.fes.js
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
// .fes.js 只负责管理编译时配置,只能使用plain Object
|
||||||
|
export default {
|
||||||
|
qiankun: {
|
||||||
|
micro: {
|
||||||
|
useDevMode: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
@ -43,7 +43,9 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"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",
|
"vue": "^3.2.37",
|
||||||
"@fesjs/fes-design": "^0.7.0"
|
"@fesjs/fes-design": "^0.7.0"
|
||||||
},
|
},
|
||||||
|
@ -58,7 +58,5 @@ export default {
|
|||||||
require.resolve('../../../fes-plugin-model/lib'),
|
require.resolve('../../../fes-plugin-model/lib'),
|
||||||
require.resolve('../../../fes-plugin-layout/lib'),
|
require.resolve('../../../fes-plugin-layout/lib'),
|
||||||
require.resolve('../../../fes-plugin-access/lib'),
|
require.resolve('../../../fes-plugin-access/lib'),
|
||||||
require.resolve('../../../fes-plugin-qiankun/lib'),
|
|
||||||
],
|
],
|
||||||
presets: [require.resolve('../../../fes-builder-webpack/lib')],
|
|
||||||
};
|
};
|
||||||
|
@ -43,7 +43,9 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"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",
|
"vue": "^3.2.37",
|
||||||
"@fesjs/fes-design": "^0.7.0"
|
"@fesjs/fes-design": "^0.7.0"
|
||||||
},
|
},
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
// .fes.js 只负责管理编译时配置,只能使用plain Object
|
||||||
|
export default {
|
||||||
|
qiankun: {
|
||||||
|
micro: {},
|
||||||
|
},
|
||||||
|
};
|
@ -43,8 +43,9 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fesjs/fes": "^2.0.0",
|
"@fesjs/fes": "^3.0.0-rc.0",
|
||||||
"@fesjs/builder-webpack": "^1.0.0",
|
"@fesjs/builder-webpack": "^3.0.0-rc.5",
|
||||||
|
"@fesjs/plugin-qiankun": "3.0.0-rc.0",
|
||||||
"vue": "^3.2.37",
|
"vue": "^3.2.37",
|
||||||
"@fesjs/fes-design": "^0.7.0"
|
"@fesjs/fes-design": "^0.7.0"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user