Enhanced Routing with UnPlugin Vue Router - File-based and Type-safe Routes with Unplugin Vue Router - Dynamic Routes with File-Based Routing
In this lesson, learn how to accept dynamic parameters with unplugin-vue-router. The syntax is really straightforward: [id].vue. But you can also do more complex parameters like:
- Optional parameters:
[[id]].vue - and Repeatable parameters:
[id]+.vue