Comments (4)
鉴权要么是用 token 要么是用 cookie,聚合发布的时候,他们都是同域,不存在这样的问题。只需要在基座应用里,实现登录功能即可。
from microfrontends.
那如果我子应用独立部署,也想能登陆怎么处理比较好(如果跳转到聚合应用里登陆并且部署在不同域的情况下会有问题)?是把登陆这块也拎出来作为一个子应用而不是基座应用里实现,然后想要独立部署子应用,那就连带着把登陆也部署了,就是至少部署1个子应用和1个登陆应用。
from microfrontends.
可以,哈哈
from microfrontends.
谢谢回答。今天你的书就要到手了,到时在拜读下:smiley:
from microfrontends.
Related Issues (20)
- 不使用 iframe 时只能使用协商缓存? HOT 3
- P155 纠错 HOT 1
- conceptions question HOT 12
- 公共 UI 库 HOT 9
- routing between micro front ends HOT 1
- Load config via app.json HOT 1
- 对【后端解耦,前端聚合】的想法
- 请问下文中的angualr是ng几 HOT 1
- 基于 chunk 加载模式的尝试
- 我也是最近实现了类似一个微前端的库,居然不知道社区已经讨论的这么火热了
- 前年随手写了个前端框架,现在看发现跟wei前端的理念很像,天然支持组件化的。
- 代码隔离要怎么做呢? HOT 5
- 我买了你的书,你却告诉我它开源, 悲伤2021 HOT 1
- 关于微前端的一些探讨 HOT 2
- 请教:postMessage 事件对于应用的侵入性太强怎么理解 HOT 6
- 关于子项目打包 HOT 3
- 请问我这个项目算不算微前端? HOT 3
- 如何分开上报错误? HOT 3
- English version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microfrontends.