From e0716fd90d1d411bcd2a962e5afdaf0f616220d7 Mon Sep 17 00:00:00 2001 From: samuelreichor Date: Sat, 9 Nov 2024 13:37:13 +0100 Subject: [PATCH] Add proper use of vue router and fix some small vue conventions --- playground/src/App.vue | 4 +++ playground/src/CraftRouter.vue | 28 +++++++++++++------ playground/src/main.ts | 2 +- playground/src/router.ts | 13 +++------ .../{helpers/utils.ts => utils/fetcher.ts} | 0 playground/src/{pages => views}/404.vue | 0 playground/src/{pages => views}/home.vue | 2 +- playground/src/{pages => views}/news.vue | 0 8 files changed, 29 insertions(+), 20 deletions(-) rename playground/src/{helpers/utils.ts => utils/fetcher.ts} (100%) rename playground/src/{pages => views}/404.vue (100%) rename playground/src/{pages => views}/home.vue (95%) rename playground/src/{pages => views}/news.vue (100%) diff --git a/playground/src/App.vue b/playground/src/App.vue index 1e84972..c2a1a76 100644 --- a/playground/src/App.vue +++ b/playground/src/App.vue @@ -15,6 +15,10 @@