Router :: param doesn't want to be optional
[issue link]Desired Outcome
My goal is to have a topic/:slug? route, that would look like the following in a non-nuxt vue project:
e.g to have a slug as an optional parameter for the /topic route.
The Problem
My pages folder looks like this:
However, the result is /topic/:slug instead of /topic/:slug?:
What am I doing wrong? Is it a bug?