rework routing

This commit is contained in:
2023-04-24 12:05:11 -07:00
parent 049b81610d
commit 53580d7919
9 changed files with 119 additions and 114 deletions

8
src/lib/routing.js Normal file
View File

@ -0,0 +1,8 @@
import { writable } from 'svelte/store';
export const currentView = writable('Home');
export function navigate(viewName) {
currentView.set(viewName);
}