SPAs and PWAs deliver an exceptional user experience because they behave like native apps. Although SPAs and PWAs provide a lot of benefits, they are not SEO-friendly by default. To address this, Spartacus includes several SEO features, one of which is configurable routing.
The goal of this course is to introduce you to the routing capabilities of Spartacus. However, the course is also targeted at people who are new to Spartacus, so you’ll learn how to set up a Spartacus storefront from scratch and then how to extend it. You’ll also learn about the basic SEO guidelines for routing.
Learn more about Spartacus
Unit 1: Introduction to Routing
Unit 2: Installation
Unit 3: Enabling Context in the Storefront URL
Unit 4: Adding Content Pages
Unit 5: Customizing Routes
Unit 6: Using Router Links
Unit 7: Hands-On Exercises
Unit 8: Sample Solution for the Exercises
To practice the exercises of this course, you should be familiar with the following topics:
You can use an editor of choice to develop code. Visual Studio Code, for example, is a good choice. You should use an SAP Commerce Cloud instance (minimum version: 1905). If you do not have one, you can use this public instance. You can find out how to use the public instance back end with your local Spartacus here.
Find out more in the certificate guidelines.
Mateusz Ostafil has over 7 years of experience as an IT specialist, programmer, and mentor.
He is a Spartacus Technology Evangelist, spreading knowledge about Angular and Spartacus across the world. Mateusz works closely with the Spartacus Core Team, always on the edge with plans of future releases and functionalities.
Follow Mateusz on his blog