add basic vite setup

This commit is contained in:
Philipp Kühn
2021-08-25 11:52:20 +02:00
parent 96a7310b9d
commit 15c7e1955a
28 changed files with 2452 additions and 27 deletions

10
demos/preview/index.vue Normal file
View File

@@ -0,0 +1,10 @@
<template>
<ul v-if="$route.path === '/'">
<li v-for="route in $router.options.routes" :key="route.path">
<router-link :to="route.path">
{{ route.path }}
</router-link>
</li>
</ul>
<router-view v-else />
</template>