Opinionated Vite starter template with TailwindCSS
Inspired by Vitesse ❤
📲 PWA
🎨 Tailwind CSS - Rapidly build modern websites without ever leaving your HTML.
🔥 Use the new <script setup>
syntax
📥 APIs auto importing - use Composition API and others directly
🖨 Server-side generation (SSG) via vite-ssg
🦔 Critical CSS via critters
🦾 TypeScript, of course
unplugin-icons
- icons as Vue componentsvite-plugin-pages
- file system based routingvite-plugin-vue-layouts
- layouts for pagesunplugin-vue-components
- components auto importunplugin-auto-import
- Directly use Vue Composition API and others without importing@vueuse/head
- manipulate document head reactivelyvite-plugin-vue-i18n
- Vite plugin for Vue I18nvite-plugin-pwa
- PWA<script setup>
SFC syntaxvite-ssg
- Server-side generation
<script setup>
IDE supportCreate a repo from this template on GitHub.
If you prefer to do it manually with the cleaner git history
npx degit zynth17/vitailse my-vitailse-app
cd my-vitailse-app
pnpm i # If you don't have pnpm installed, run: npm install -g pnpm
When you use this template, try follow the checklist to update your info properly
name
field in package.json
LICENSE
App.vue
public
.github
folder which contains the funding infoAnd, enjoy :)
Just run and visit http://localhost:3000
pnpm dev
Just run and visit https://localhost
pnpm build && pnpm run https-preview
To build the App, run
pnpm build
And you will see the generated file in dist
that ready to be served.