./ 运行查看 $ docker exec -it app-shell ps aux USER PID %CPU %MEM VSZ RSS TTY STAT START 的进程是 sh 进程 此时执行 docker stop,业务进程是接收不到 SIGTERM 信号的,要等待一个超时时间后被 KILL 日志没有输出 SIGTERM 关闭指令 $ docker stop app-shell app-shell $ docker logs app-shell 进程启动...
updateContent); 最后别忘了拦截全局对超链接的点击事件,避免打开新页面: document.addEventListener("click", e => { console.log("app-shell == next) { console.log("app-shell内部使用的微前端页面变了"); console.log("顶层路由改变"); const document.createElement(next); appContent.replaceChild(newComponent, current); } else { console.log("app-shell updateContent({location: window.location}); document.addEventListener("click", e => { console.log("app-shell
fundamentals/performance/prpl-pattern/ [165] App Shell架构: https://developers.google.com/web/updates/2015/11/app-shell