[英]Nuxt.Js redirect parent page to index
我的頁面文件夾結構如下:
--pages
--projects
--slug.vue
--index.vue
When I go to the "/projects/something" URL it's work fine, but when I go to the "/project" URL I would like see (main page) index.vue. 我怎樣才能做到這一點?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.