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