chore: update readme
This commit is contained in:
1 parent
0aead4d551
commit
144996e42a
4 files changed
+26
-15
No files matched your search
@@ -1,14 +1,21 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://user-images.githubusercontent.com/11247099/140190314-14c4e434-9608-4f4b-b378-4403b13dcc18.png" width="500"/>
|
<img src="https://user-images.githubusercontent.com/11247099/140462375-7b7ac4db-35b7-453c-8a05-13d8d20282c4.png" width="600"/>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<h2 align="center">
|
||||||
<a href="https://github.com/antfu/vitesse">Vitesse</a> for Nuxt 3
|
<a href="https://github.com/antfu/vitesse">Vitesse</a> for Nuxt 3
|
||||||
</p><br>
|
</h2><br>
|
||||||
|
|
||||||
> 🧪 Working in Progress
|
<pre align="center">
|
||||||
|
🧪 Working in Progress
|
||||||
|
</pre>
|
||||||
|
|
||||||
[Nuxt 2 version](https://github.com/antfu/vitesse-nuxt-bridge)
|
<p align="center">
|
||||||
|
<br>
|
||||||
|
<a href="https://vitesse-nuxt3.netlify.app/">🖥 Online Preview</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="https://sli.dev/new"><img src="https://developer.stackblitz.com/img/open_in_stackblitz.svg" alt=""></a>
|
||||||
|
</p>
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
@@ -20,9 +27,11 @@
|
|||||||
|
|
||||||
- 😃 Use icons from any icon sets in Pure CSS, powered by [UnoCSS](https://github.com/antfu/unocss)
|
- 😃 Use icons from any icon sets in Pure CSS, powered by [UnoCSS](https://github.com/antfu/unocss)
|
||||||
|
|
||||||
- 🔥 Use the new `<script setup>` syntax in Vue 2
|
- 🔥 The `<script setup>` syntax
|
||||||
|
|
||||||
- 📥 APIs auto importing - use Composition API and others directly
|
- 📥 APIs auto importing - for Composition API and VueUse
|
||||||
|
|
||||||
|
- 🏎 Zero-config cloud functions and deploy
|
||||||
|
|
||||||
- 🦾 TypeScript, of course
|
- 🦾 TypeScript, of course
|
||||||
|
|
||||||
@@ -30,9 +39,9 @@
|
|||||||
|
|
||||||
### Nuxt Modules
|
### Nuxt Modules
|
||||||
|
|
||||||
- [VueUse](https://github.com/antfu/vueuse) - collection of useful composition APIs
|
- [VueUse](https://github.com/vueuse/vueuse) - collection of useful composition APIs
|
||||||
- [UnoCSS](https://github.com/antfu/unocss) - on-demand atomic CSS engine - powers pure CSS Icons!
|
- [UnoCSS](https://github.com/antfu/unocss) - on-demand atomic CSS engine - powers pure CSS Icons!
|
||||||
|
|
||||||
## IDE Integration
|
## IDE
|
||||||
|
|
||||||
We recommend using [VS Code](https://code.visualstudio.com/) with [Volar](https://github.com/johnsoncodehk/volar) to get the best experience (You might want to disable Vetur if you have it).
|
We recommend using [VS Code](https://code.visualstudio.com/) with [Volar](https://github.com/johnsoncodehk/volar) to get the best experience (You might want to disable Vetur if you have it).
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div inline-flex text-2xl font-300 cursor-default>
|
<div inline-flex text-2xl font-300 cursor-default>
|
||||||
<div flex flex-col children:mx-auto>
|
<div flex flex-col children:mx-auto>
|
||||||
<img w-18 inline-block src="/nuxt.png" />
|
<img w-18 h-18 inline-block src="/nuxt.png" />
|
||||||
<span text-green5 mt--2>Nuxt 3</span>
|
<span text-green5 mt--2>Nuxt 3</span>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
i-carbon-add
|
i-carbon-add
|
||||||
/>
|
/>
|
||||||
<div flex flex-col children:mx-auto>
|
<div flex flex-col children:mx-auto>
|
||||||
<img w-18 inline-block src="/vite.png" />
|
<img w-18 h-18 inline-block src="/vite.png" />
|
||||||
<span text-purple5 mt--2>Vitesse</span>
|
<span text-purple5 mt--2>Vitesse</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -5,7 +5,9 @@ const time = useTimeAgo(computed(() => data.value.startAt))
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div text-gray:50>
|
<div text-gray:80>
|
||||||
<span font-500 text-gray>{{ data.pageview }}</span> page views since <span text-gray>{{ time }}</span>
|
<span font-500 text-gray>{{ data.pageview }}</span>
|
||||||
|
page views since
|
||||||
|
<span text-gray>{{ time }}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
+2
-2
@@ -4,8 +4,8 @@
|
|||||||
<Suspense>
|
<Suspense>
|
||||||
<PageView />
|
<PageView />
|
||||||
<template #fallback>
|
<template #fallback>
|
||||||
<div op50 italic animate-pulse>
|
<div op50 italic>
|
||||||
Loading...
|
<span animate-pulse>Loading...</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</Suspense>
|
</Suspense>
|
||||||
|
|||||||
Reference in new issue
Block a user