We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c3f4fd commit 4d59b36Copy full SHA for 4d59b36
layouts/default.vue
@@ -1,6 +1,9 @@
1
<template>
2
- <main class="px-10 py-20">
+ <main>
3
<AppHeader />
4
- <slot />
+
5
+ <div class="px-10 pt-60">
6
+ <slot />
7
+ </div>
8
</main>
9
</template>
pages/unocss/index.vue
@@ -0,0 +1,21 @@
+<script setup lang="ts">
+definePageMeta({
+ title: '🎨 Unocss 示例',
+})
+</script>
+<template>
+ <div>
+ <h1 class="text-6xl color-pink font-semibold">
10
+ Hello, Unocss!
11
+ </h1>
12
13
+ <p class="mt-4 text-gray-700 dark:text-white">
14
+ This is a simple example of Unocss in action.
15
+ </p>
16
17
+ <button class="btn">
18
+ Button
19
+ </button>
20
21
+</template>
0 commit comments