ylliX - Online Advertising Network

How to use query instead of params in Vue Router’s push?

I have Vue 3 app that uses Vue Router and need to use push with query instead of params. It looks as following: function create() { // router.push({ name: ‘print-template-new’, params: { readMode: false } }) router.push({ path: ‘/od/print-templates/new’, query: { readMode: false }, }) } function clickTo(item) { // router.push({ // name: ‘print-template-card’, // […]