Skip to content

Glossary: Vue.js

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.

Where the book teaches it

Related terms

Vue RouterRoute