Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

createrouter vue 3 history remove Hash

import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(),
  routes: [
    //...
  ],
})
Source by next.router.vuejs.org #
 
PREVIOUS NEXT
Tagged: #createrouter #vue #history #remove #Hash
ADD COMMENT
Topic
Name
5+2 =