Skip to content

Sub-applications cannot be displayed properly #4143

@JinHe-PerkinElmer

Description

@JinHe-PerkinElmer

Description

I am currently researching micro frontend frameworks and downloaded the official react example of luigi(https://github.com/SAP/luigi/tree/main/core/examples/luigi-example-react). When I tried to integrate another SPA application(running on //localhost:8000/), but the page does not display properly. I observed that when the route changed, the resource files of the sub-application and the network request have been successfully returned.

Image

This is the configuration I added in the luigi-config.js file:

{
      pathSegment: 'statistic',
      label: 'Statistic',
      icon: 'paper-plane',
      viewUrl: '//localhost:8000/',
      virtualTree: true,
}

In other words, how should I integrate multiple applications into the main application?

Expected result

Display the sub-application properly.

Actual result

Steps to reproduce

Troubleshooting

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions