examples: add quasar example
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent, ref } from 'vue'
|
||||
import CardComponent from 'components/CardComponent.vue'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'IndexPage',
|
||||
components: { CardComponent },
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<q-page class="row items-center justify-evenly">
|
||||
<CardComponent title="Card component" active></CardComponent>
|
||||
</q-page>
|
||||
</template>
|
||||
@@ -0,0 +1,19 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'ErrorNotFound',
|
||||
})
|
||||
</script>
|
||||
|
||||
<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: 0.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>
|
||||
@@ -0,0 +1,15 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue'
|
||||
import CustomizedComponent from 'components/CustomizedComponent.vue'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'IndexPage',
|
||||
components: { CustomizedComponent },
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<q-page class="row items-center justify-evenly">
|
||||
<CustomizedComponent title="Example component" active></CustomizedComponent>
|
||||
</q-page>
|
||||
</template>
|
||||
@@ -0,0 +1,15 @@
|
||||
<script lang="ts">
|
||||
import PopupComponent from 'components/PopupComponent.vue'
|
||||
import { defineComponent } from 'vue'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'IndexPage',
|
||||
components: { PopupComponent },
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<q-page class="row items-center justify-evenly">
|
||||
<PopupComponent title="Popup component" active></PopupComponent>
|
||||
</q-page>
|
||||
</template>
|
||||
Reference in New Issue
Block a user