I created a custom page type called ‘Angular page’ and a custom twig template for it which loads my angular scripts and prints the <app-root>
tag.
I set the page URL to /angularpage
and the page will display the data correctly.
The issue is – my angular app supports routing so I want all the angular routes also to load the same node:
For example:
/angularpage/route1 /angularpage/route2 /angularpage/route2/step2
Does anyone know of a way in which I can take the URL alias the user filled and use it as a base for my page so that all routes that start with it lead me to the same node?
(Drupal 8)
Thanks Yaron