-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
Copy pathapp.vue
35 lines (33 loc) · 1.09 KB
/
app.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<template>
<div id="app">
<main class="flex min-h-screen flex-col items-center justify-start p-8 md:p-24">
<h1 class="text-3xl text-slate-800 text-black">
Accelerated Quotes
</h1>
<br />
<p class="text-xl text-slate-800">
Retrieves the most recently added quote with and without caching enabled
</p>
<br />
<button @click="refreshPage" class="focus:outline-none text-white bg-green-700 hover:bg-green-800 focus:ring-4 focus:ring-green-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:bg-green-600 dark:hover:bg-green-700 focus:ring-green-800">
Refresh
</button>
<NuxtPage />
</main>
</div>
</template>
<script setup lang="ts">
const refreshPage = () => {
window.location.reload();
};
</script>
<style>
/* Add global styles here */
html,
body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
background-color: #f0f0f0;
}
</style>