Home

Issue: 75

Explicitly define dynamic path in 0.9.0?

[issue link]

Hello, I have been using Nuxt to rapidly prototype ideas and I’ve been really enjoying the simplicity of it. However as of the breaking change to routes in 0.9.0 I am unsure if I can explicitly define my desired path anymore and I fear the simplicity has become somewhat of a limitation without the option for more fine-tuned control.

The examples provided indicate that pages prefixed with an underscore are directly transformed into the path, but what if I wish to have a more complex path regex? Prior to 0.9.0 I had a path along the lines of /(watch|play)/:id, this wouldn’t work using the folder structure.

Have I missed some information on this or is this simply no longer possible?

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