Tag:vue-router
All content with the tag "vue-router".
Type-Safe State in Your URL: Vue Router's Param Parsers
Your URL is state, but Vue Router hands it to you as a string. Notes from Eduardo San Martin Morote's talk on the experimental router: param parsers turn path, query and hash params into real numbers, booleans and dates, with types.
Read More→How to Test Vue Router Components with Testing Library and Vitest
Learn how to test Vue Router components using Testing Library and Vitest. This guide covers real router integration, mocked router setups, and best practices for testing navigation, route guards, and dynamic components in Vue applications.
Read More→