Skip to content

Muliples custom elements (full ember apps) have conflict inside host app #18

@billyjov

Description

@billyjov

i have an application as a parent app.

I load two different apps as custom elements with lazy loading.

The following problems occur:

With the normal build (not the prod build)

  • When the page is initially loaded, I navigate to the first link with my custom element. (Everything works so far)
  • When I navigate to the other one and come back, I get the following warnings and the element is no longer displayed. Any idea what could be the cause?

2021-06-30 10_26_53-ubuntu-20-lts-2  wird ausgeführt  - Oracle VM VirtualBox

With the prod build

when I build my custom elements with the production build, only one element works and the other does not.

Are there any conflicts?

PS. i'm using shadow DOM

2021-06-30 10_44_14-EmberApp
2021-06-30 10_44_39-localhost_4200_landscapes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions