-1👍
use the [ ] syntax
pages/landing/[paramName].vue
further read
https://v3.nuxtjs.org/guide/directory-structure/pages#dynamic-routes
- [Vuejs]-How to pass value to function from methods in Vue.js?
- [Vuejs]-How to achieve same look/design in any aspect ratio?
-1👍
If 123 is the id, you need to save the file as _id.vue
then you can get the value of id using this.$route.params.id
Edit: You directory structure will be pages/landing/_id.vue
Source:stackexchange.com