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 me to create Scratch Files but I donĀ“t know what that kind of file is and what Is its purpose. Could someone give

Node js post request without refreshing

Is it possible to complete a post request without redirecting or refreshing the page? I am making a simple file browser in browser. The client side shows the USB stick content of the server. You know, when I open a folder, I send a string to server with the path data, so the server can send me the current folder’s

Advertisement