rework routing
This commit is contained in:
1 parent
049b81610d
commit
53580d7919
9 files changed
+118
-113
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import { writable } from 'svelte/store';
|
||||
|
||||
|
||||
export const currentView = writable('Home');
|
||||
|
||||
export function navigate(viewName) {
|
||||
currentView.set(viewName);
|
||||
}
|
||||
Reference in new issue
Block a user