Add childrens route to my project library

cancel
Showing results for 
Search instead for 
Did you mean: 
danny36
Active Member

Add childrens route to my project library

Hi,

i am trying to add a childrens route to my project library, I read this doc page but  don't works.

https://alfresco-content-app.netlify.app/#/extending/routes?id=dynamically-injected-routes-with-thei...

this is my route inside json file

"routes": [
    {
      "id": "abd-rubrica.route",
      "path": "Rubrica",
      "component": "abd-rubrica.main.component",
      "children": [
        { "id": "abd-rubrica-add.route", "path": "add", "component": "AddComponent" },
        { "id": "abd-rubrica-edit.route", "path": "edit/:id", "component": "EditComponent" }
      ]
    }
  ],

If I try to navigate to "Rubrica/add" or "Rubrica/edit" but no component is displayes.

Someone can help me?