Language routing in JSS apps

Current version: 22.0

Sitecore JSS does not dictate your route/URL structure. JSS sample applications implement basic routing that follows the Sitecore route item hierarchy by default.

If your use cases require it, you can modify the default routing system, but keep in mind that it is much simpler to run the application in integrated mode and therefore allow Sitecore content authors to edit the content for the application when the URL structure for the JSS application follows the route item structure in Sitecore.

The sample apps demonstrate routing using language prefixes and can handle route formats such as /about, /en/about , or /es-US/about.

Do you have some feedback for us?

If you have suggestions for improving this article,