Coder Social home page Coder Social logo

Comments (5)

lzxb avatar lzxb commented on August 18, 2024

你看这个:
https://github.com/fmfe/genesis/blob/master/docs/zh-CN/why.md#%E5%BE%AE%E6%9C%8D%E5%8A%A1%E6%9E%B6%E6%9E%84
目前的例子,是按照这个架构来写的。
如果你需要在服务端加载子路由,你自己编写代码处理就好了。

from gez.

lzxb avatar lzxb commented on August 18, 2024

子服务把所有的路由导出,然后由聚合服务,把字符串的路由注册进来,统一由聚合服务渲染。

from gez.

lzxb avatar lzxb commented on August 18, 2024

是否需要Nginx转发,那个完全是你部署的方式,Genesis不关心这个。你只需要给他远程服务的地址即可

from gez.

lzxb avatar lzxb commented on August 18, 2024

关于postinstall 建议你先完整的看下文档先:https://github.com/fmfe/genesis/blob/master/docs/zh-CN/webpack-module-federation.md#%E5%AE%89%E8%A3%85%E4%BE%9D%E8%B5%96%E6%97%B6%E8%87%AA%E5%8A%A8%E4%B8%8B%E8%BD%BD%E8%BF%9C%E7%A8%8B%E6%A8%A1%E5%9D%97%E7%9A%84%E7%B1%BB%E5%9E%8B%E6%96%87%E4%BB%B6

from gez.

ekxs0109 avatar ekxs0109 commented on August 18, 2024

谢谢解答

from gez.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.