Home

Issue: 1032

Wildcard slugs in router (allow for slashes in param)

[issue link]

Is there an easy way where slashes can be allowed in the path for a given route?

This doc shows that you can create an optional parameter:
https://nuxtjs.org/guide/routing/

Is it possible to create a file perhaps as _id*.vue for example which would generate the router config with a path that allows slashes in the parameter? I’m not sure if I’m just missing something or the best way to allow slashes as part of a parameter (or if it’s actually possible with vue-router). Struggling a bit to find that info.

Thanks.

This question is available on Nuxt.js community (#c898)