-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
react子应用嵌套vue子应用有问题 #15
Comments
@xcgs123 哈喽小伙伴,方便提供下报错的项目地址吗?我clone到本地运行看看。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: