adobe / aem-spa-page-model-manager

Interface between Adobe Experience Manager and Single Page Application framework.
Apache License 2.0
33 stars 24 forks source link

[feature] How we can customize the SPA router config? #62

Open ghost opened 3 years ago

ghost commented 3 years ago

Hi Team,

I want to customize SPA router config (react-router), want to use static router in AEM and manually get the page model. this is possible? like below:

sharanyavinod commented 3 years ago

Could you please provide more details regarding use-cases and include the missing example of the expected behavior?

ghost commented 3 years ago

@sharanyavinod thanks your reply.

I actually encountered some problems.

  1. Although we can do some settings on the apache rule, in the company's policy, /content/project-name/ is not allowed in the URL, so the front end wants to manually configure the route without /content/project-name.
  2. How to configure a 404 page on the front end without changing the rule?