File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ export interface Params {
33 view : null | 'graph' | 'editor' | 'console'
44}
55
6- export const params = useUrlSearchParams < Params > ( 'hash-params ' , {
6+ export const params = useUrlSearchParams < Params > ( 'hash' , {
77 initialValue : {
88 file : '' ,
99 view : null ,
Original file line number Diff line number Diff line change 11/// <reference types="vite-plugin-pages/client" />
22
3- import { createRouter as _createRouter , createWebHistory } from 'vue-router'
3+ import { createRouter as _createRouter , createWebHashHistory } from 'vue-router'
44import FloatingVue , { VTooltip } from 'floating-vue'
55import routes from 'virtual:generated-pages'
66import 'd3-graph-controller/default.css'
@@ -11,7 +11,6 @@ import 'codemirror-theme-vars/base.css'
1111import './styles/main.css'
1212import 'floating-vue/dist/style.css'
1313import 'uno.css'
14- import { BASE_PATH } from './constants'
1514
1615export const directives = {
1716 tooltip : VTooltip ,
@@ -22,7 +21,7 @@ FloatingVue.options.distance = 10
2221
2322export function createRouter ( ) {
2423 return _createRouter ( {
25- history : createWebHistory ( BASE_PATH ) ,
24+ history : createWebHashHistory ( ) ,
2625 routes,
2726 } )
2827}
You can’t perform that action at this time.
0 commit comments