added editor

This commit is contained in:
Thomas 2022-04-09 13:01:01 -05:00
parent 9e92c80973
commit 4544aff3c7
2 changed files with 14 additions and 0 deletions

9
src/pages/Editor.vue Normal file
View File

@ -0,0 +1,9 @@
<script setup lang="ts">
</script>
<template>
Hi
</template>
<style></style>

View File

@ -12,6 +12,11 @@ const routes = [
name: 'Scratch', name: 'Scratch',
component: () => import(/* webpackChunkName: "scratch" */ './pages/Scratch.vue'), component: () => import(/* webpackChunkName: "scratch" */ './pages/Scratch.vue'),
}, },
{
path: '/editor',
name: 'Editor',
component: () => import('./pages/Editor.vue'),
},
] ]
const router = createRouter({ const router = createRouter({