0👍
✅
I read this from guideline of Nuxt.
“To define a dynamic route with a parameter, you need to define a .vue file OR a directory prefixed by an underscore.”
So it should be
pages/
--| _slug/
-----| _slug.vue
Ref: Routing in Nuxt
Source:stackexchange.com