-
Notifications
You must be signed in to change notification settings - Fork 71
/
Copy pathserve.vue
45 lines (42 loc) · 1010 Bytes
/
serve.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
36
37
38
39
40
41
42
43
44
45
<template>
<div id="app">
<Popper arrow>
<button>Click this</button>
<template #content>
<div>This is the content</div>
</template>
</Popper>
</div>
</template>
<script>
import { defineComponent } from "vue";
import Popper from "@/component/Popper.vue";
export default defineComponent({
name: "ServeDev",
components: {
Popper,
},
});
</script>
<style>
#app {
color: #2c3e50;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 100px;
}
:root {
--popper-theme-background-color: #ffffff;
--popper-theme-background-color-hover: #ffffff;
--popper-theme-text-color: #333333;
--popper-theme-border-width: 1px;
--popper-theme-border-style: solid;
--popper-theme-border-color: #dadada;
--popper-theme-border-radius: 6px;
--popper-theme-padding: 32px;
--popper-theme-box-shadow: 0 6px 30px -6px rgba(0, 0, 0, 0.25);
}
</style>