Skip to content
Advertisement

Tag: directory

Catch all routes in NuxtJS pages routing

I have this page route in NuxtJS: pages/_book.vue So that when I go to localhost:3000/my-book, params.book is equal to “my-book” as expected. However some books are nested deep inside several directories. I want to get the full route as params.book. These routes should be separated by “/”. For example, localhost:3000/finance/strategies/experts should make params.book equal to “finance/strategies/experts”. How can I achieve

What is a Scratch File?

I am currently trying to figure out all the functions that my IDE has, and I have come across a predefined folder when I create a project that is called ‘scratches and consoles’. The IDE only allows …

Advertisement