createRouter
Also written: createWebHistory
Vue Router's function for making the router from a `routes` list and a `history`. `createWebHistory()` gives normal-looking paths like `/cart` and makes Back and Forward work.
Also written: createWebHistory
Vue Router's function for making the router from a `routes` list and a `history`. `createWebHistory()` gives normal-looking paths like `/cart` and makes Back and Forward work.