title: How to drop a query in a url?
body: <p>I have the following url: <a href="http://0.0.0.0:3000/book/all?my_query" rel="noreferrer">http://0.0.0.0:3000/book/all?my_query</a>
  How to drop "all?my_query" and leave just "book/"
  I tried to do something like this:
  <code>if (this.$route.params.item === 'all') { this.$router.replace ('/') }</code> </p>
  
  <p>but it just returns to the main page</p>