Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

createrouter vue history remove Hash

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

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