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.
参与讨论