Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
Something went wrong. Try again.
123456789101112131415export interface Params { file: string view: null | 'graph' | 'editor' | 'console'}
export const params = useUrlSearchParams<Params>('hash', { initialValue: { file: '', view: null, },})
export const activeFileId = toRef(params, 'file')export const viewMode = toRef(params, 'view')