-
-
Notifications
You must be signed in to change notification settings - Fork 144
/
App.vue
112 lines (110 loc) · 3.36 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<script setup lang="ts">
import MdiStore24Hour from 'virtual:icons/mdi/store-24-hour'
import MdiAlarmOff from 'virtual:icons/mdi/alarm-off?width=4.25rem&height=4.25rem'
import MdiAlarmOff2 from 'virtual:icons/mdi/alarm-off?width=1em&height=1em'
import RawMdiAlarmOff from 'virtual:icons/mdi/alarm-off?raw&width=4.25rem&height=4.25rem'
import RawMdiAlarmOff2 from 'virtual:icons/mdi/alarm-off?raw&width=1em&height=1em'
import RawMdiAlarmOff3 from 'virtual:icons/mdi/alarm-off?raw&width=unset&height=unset'
import Custom1 from 'virtual:icons/plain-color-icons/about?raw'
import Custom2 from 'virtual:icons/test-color-icons/about?raw'
import ExternalCustom3 from 'virtual:icons/test-color-icons/about'
import VSCodePython from 'virtual:icons/vscode-icons/file-type-python'
</script>
<template>
<div class="markdown-body" style="padding: 2em 3em">
<i-logos-vue style="font-size: 2em" />
<br>
<h2>Icons</h2>
<p>
<i-mdi:light-flood-down />
<i-mdi-account />
<i-fa-solid-dice-five />
<i-heroicons-outline:menu-alt-2 />
<i-heroicons-outline-menu-alt-2 />
<i-ri-apps-2-line />
<i-mdi-dice-d12 />
<i-mdi-light-alarm />
<i-noto-v1-flag-for-flag-japan />
<i-ic-twotone-24mp />
<i-mdi:cactus />
<i-twemoji-1st-place-medal />
<IIcTwotone23mp />
<MdiStore24Hour />
<VSCodePython />
<ExternalCustom3 />
<i-test-color-icons:about />
<i-plain-color-icons:about />
<br>
</p>
<h2>Customizer via Config</h2>
<p>
<i-carbon-app-connectivity />
<i-custom-car-a />
</p>
<h2>Custom Props via Query</h2>
<p>
<MdiAlarmOff />
<MdiAlarmOff2 />
</p>
<h2>Custom Icons</h2>
<p>
<i-custom-steering-wheel style="color: rgb(32, 115, 129)" />
<i-inline-foo />
<i-inline-async />
<i-custom-car-a />
</p>
<h2>Collection alias</h2>
<p>
<i-park-abnormal />
<i-icon-park-abnormal />
</p>
<h2>
Raw Icons from
<strong>raw</strong> query param
</h2>
<div
style="
display: grid;
grid-template-columns: 100px 1fr;
align-items: center;
"
>
<span v-html="RawMdiAlarmOff" />
<div>
<code style="opacity: 0.5">import RawMdiAlarmOff from
'virtual:icons/mdi/alarm-off?raw&width=4.25rem&height=4.25rem'</code>
<pre>{{ RawMdiAlarmOff }}</pre>
</div>
<span v-html="RawMdiAlarmOff2" />
<div>
<code style="opacity: 0.5">import RawMdiAlarmOff2 from
'virtual:icons/mdi/alarm-off?raw&width=1em&height=1em'</code>
<pre>{{ RawMdiAlarmOff2 }}</pre>
</div>
<span v-html="RawMdiAlarmOff3" />
<div>
<code style="opacity: 0.5">import RawMdiAlarmOff3 from
'virtual:icons/mdi/alarm-off?raw&width=unset&height=unset'</code>
<pre>{{ RawMdiAlarmOff3 }}</pre>
</div>
<span v-html="Custom1" />
<div>
<code style="opacity: 0.5">import Custom1 from
'virtual:icons/plain-color-icons/about?raw'</code>
<pre>{{ Custom1 }}</pre>
</div>
<span v-html="Custom2" />
<div>
<code style="opacity: 0.5">import Custom2 from
'virtual:icons/test-color-icons/about?raw'</code>
<pre>{{ Custom2 }}</pre>
</div>
</div>
<br>
</div>
</template>
<style scoped>
pre {
overflow-x: auto;
}
</style>