modo hash para funcion spa
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { createRouter, createMemoryHistory } from 'vue-router'
|
||||
import { createRouter, createMemoryHistory , createWebHashHistory} from 'vue-router'
|
||||
|
||||
const routes = [
|
||||
// Chat principal y config
|
||||
@@ -30,6 +30,6 @@ const routes = [
|
||||
]
|
||||
|
||||
export default createRouter({
|
||||
history: createMemoryHistory(),
|
||||
history: createWebHashHistory(),
|
||||
routes,
|
||||
})
|
||||
Reference in New Issue
Block a user