File tree Expand file tree Collapse file tree 5 files changed +20
-11
lines changed
Expand file tree Collapse file tree 5 files changed +20
-11
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ export default defineConfig({
1919 { path : '/index' , component : '@/pages/Index/index' } ,
2020 ] ,
2121 fastRefresh : { } ,
22- // qiankun: {
23- // master: {
24- // apps:[]
25- // }
26- // }
22+ qiankun : {
23+ master : {
24+ apps :[ ]
25+ }
26+ }
2727} ) ;
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < title > 这是APP1</ title >
5+ </ head >
6+ < body >
7+ 这是微前端测试页,我是APP1!
8+ </ body >
9+ </ html >
Original file line number Diff line number Diff line change 33 "apps" : [
44 {
55 "name" : " app1" ,
6- "entry" : " //www.baidu.com "
6+ "entry" : " /apps/app1.html "
77 }
88 ]
99}
Original file line number Diff line number Diff line change @@ -124,10 +124,10 @@ const Render: React.FC<any> = (props:any) => {
124124 key : 'login' ,
125125 component : < Login { ...body } callback = { callback } data = { data } />
126126 } ,
127- // {
128- // key: 'microApp',
129- // component: <MicroApp {...body} callback={callback} data={data} />
130- // },
127+ {
128+ key : 'microApp' ,
129+ component : < MicroApp { ...body } callback = { callback } data = { data } />
130+ } ,
131131 {
132132 key : 'tpl' ,
133133 component : < > { tplEngine ( body . body , data ) } </ >
Original file line number Diff line number Diff line change 1313 </head >
1414 <body >
1515 <noscript >Out-of-the-box mid-stage front/design solution!</noscript >
16- <div id =" root" >
16+ <div id =" root-master " >
1717 <style >
1818 html ,
1919 body ,
You can’t perform that action at this time.
0 commit comments