Assemble urls from route-like templates (/path/:param)
Nuxt.js automatically generates the vue-router configuration based on your file tree of Vue files inside the pages directory.
The router property lets you customize Nuxt.js router (vue-router).
For most Single Page Applications, it’s recommended to use the officially-supported vue-router library. For more details, see vue-router’s documentation.
Turn a path string such as /user/:name into a regular expression.