From c23bbfaa4a8d048d9702fb71160988d1afcc67c6 Mon Sep 17 00:00:00 2001 From: Braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Fri, 22 Oct 2021 09:59:45 +0200 Subject: [PATCH] update(examples): Add switch example --- examples/Switch/SwitchExample.vue | 47 +++++++++++++++++++++++++++++++ examples/router.ts | 4 +++ 2 files changed, 51 insertions(+) create mode 100644 examples/Switch/SwitchExample.vue diff --git a/examples/Switch/SwitchExample.vue b/examples/Switch/SwitchExample.vue new file mode 100644 index 00000000..b0c42d00 --- /dev/null +++ b/examples/Switch/SwitchExample.vue @@ -0,0 +1,47 @@ + + diff --git a/examples/router.ts b/examples/router.ts index b79eaf4c..c86d3bf7 100644 --- a/examples/router.ts +++ b/examples/router.ts @@ -77,6 +77,10 @@ export const routes: RouterOptions['routes'] = [ path: '/stress', component: () => import('./Stress/StressExample.vue'), }, + { + path: '/switch', + component: () => import('./Switch/SwitchExample.vue'), + }, ] export const router = createRouter({