Create or add a menu item without a link in drupal 8

In drupal 7 you could use some contrib modules with a <nolink> tag to make subtitles in our menu. In drupal 8 I try to avoid contrib modules on my menu items. Here's a hint on how to get it to work.

Edit your menu item and add the following as the path:

route:<nolink> 

Done! You now have a valid menu item without a link.

 

Saved you some valuable time?

Buy me a drink 🍺 to keep me motivated to create free content like this!