cost 58 ms
Angular 14、使用模块联合,我如何从远程应用程序内部确定我的远程应用程序的绝对路径? - In Angular 14, using module federation, how do I determine the absolute path of my remote app from within the remote app?

我正在使用 Angular 14 和模块联合。 如何从我的远程应用程序中找到我的远程应用程序的绝对路径? 在我的远程应用程序中,我使用公开模块 然后在我的 src/app/services 我有这个 在我的 shell 应用程序中,我在初始化路由时引用了远程模块 我不太清楚要在“const abs ...

如何在 nextjs (React App) 中渲染 Angular 模块 - How to render Angular Module in nextjs (React App)

我正在努力集成微前端,集成的一部分我们必须在 nextjs 中包含 angular 应用程序,所以我们注入了 angular remoteEntry.js,如下所示 所以我们得到了 Angular 模块,应用程序已添加到浏览器的 window,那么我们如何在 nextjs 页面中呈现它, pack ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM