You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<Button onClick={() => setVisible(true)}>CLICK ME
<Modal
visible={visible}
onOk={() => setVisible(false)}
onCancel={() => setVisible(false)}
title="qiankun"
>
Probably the most complete micro-frontends solution you ever met
export default function() {
const [visible, setVisible] = useState(false);
const curRef = useRef(null)
useEffect(() => {
return loadMicroApp({
name: "vue",
entry: "//localhost:3344/vue",
container: "#aa",
});
},[])
return (
<>
<Button onClick={() => setVisible(true)}>CLICK ME
<Modal
visible={visible}
onOk={() => setVisible(false)}
onCancel={() => setVisible(false)}
title="qiankun"
>
Probably the most complete micro-frontends solution you ever met
</>
);
}
在qiankun-demo/react-app-qiankun-sub/src/components/HelloModal.jsx文件里加上,就显示不出嵌套的子应用
The text was updated successfully, but these errors were encountered: