路由配置

This commit is contained in:
fofolee
2022-03-30 20:59:52 +08:00
parent 1c7c3c95b8
commit c631130edd
9 changed files with 46 additions and 225 deletions

View File

@@ -0,0 +1,7 @@
<template>
<div>commandPage</div>
</template>
<script>
export default {};
</script>

View File

@@ -1,31 +0,0 @@
<template>
<div class="fullscreen bg-blue text-white text-center q-pa-md flex flex-center">
<div>
<div style="font-size: 30vh">
404
</div>
<div class="text-h2" style="opacity:.4">
Oops. Nothing here...
</div>
<q-btn
class="q-mt-xl"
color="white"
text-color="blue"
unelevated
to="/"
label="Go Home"
no-caps
/>
</div>
</div>
</template>
<script>
import { defineComponent } from 'vue'
export default defineComponent({
name: 'ErrorNotFound'
})
</script>

View File

@@ -1,17 +0,0 @@
<template>
<q-page class="flex flex-center">
<img
alt="Quasar logo"
src="~assets/quasar-logo-vertical.svg"
style="width: 200px; height: 200px"
>
</q-page>
</template>
<script>
import { defineComponent } from 'vue'
export default defineComponent({
name: 'IndexPage'
})
</script>

11
src/pages/NewCommand.vue Normal file
View File

@@ -0,0 +1,11 @@
<template>
<div>newCommand</div>
</template>
<script>
export default {
mounted() {
console.log(JSON.parse(localStorage["enterData"]));
},
};
</script>

5
src/pages/QuickPanel.vue Normal file
View File

@@ -0,0 +1,5 @@
<template>
<div>
quickPanel
</div>
</template>