chore: init

This commit is contained in:
Anthony Fu committed 2021-07-19 23:23:01 +08:00
commit a43d054604
34 files changed
+3678

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
<script setup lang="ts">
import { isDark, toggleDark } from '~/logic'
</script>
<template>
<nav class="text-xl mt-6">
<button class="icon-btn mx-2 !outline-none" @click="toggleDark">
<carbon-moon v-if="isDark" />
<carbon-sun v-else />
</button>
<a class="icon-btn mx-2" rel="noreferrer" href="https://github.com/antfu/vitesse-lite" target="_blank" title="GitHub">
<carbon-logo-github />
</a>
</nav>
</template>
+10
View File
@@ -0,0 +1,10 @@
## Components
Components in this dir will be auto-registered and on-demand, powered by [`vite-plugin-components`](https://github.com/antfu/vite-plugin-components).
### Icons
You can use icons from almost any icon sets by the power of [Iconify](https://iconify.design/).
It will only bundle the icons you use. Check out [vite-plugin-icons](https://github.com/antfu/vite-plugin-icons) for more details.