Mocking up web app with Vitesse(speed)
Now with Vite 2.0! β‘οΈ
π File based routing
π² PWA
π¨ TailwindCSS v2.0undefined with dark mode out-of-box
π i18n ready
π Markdown Support
π₯ Use the new <script setup> style
π¨ Server-side generation (SSG) via vite-ssg
π¦Ύ TypeScript, of course
βοΈ Deploy on Netlify, zero-config
<script setup> SFCAs this template is strongly opinionated, the following provides a curated list for community maintained variations with different preferences and feature sets. Check them out as well. PR to add yours are also welcome!
Create a repo from this template on GitHub.
If you prefer to do it manually with the cleaner git history
npx degit antfu/vitesse my-vitesse-app
cd my-vitesse-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 .githubAnd, enjoy :)
Just run and visit http://localhost:3333
pnpm dev
To build the App, run
pnpm build
And you will see the generated file in dist that ready to be served.
Go to Netlify and select your clone, OK along the way, and your App will be live in a minute.
I have created several Vite apps recently. Setting the configs up is kinda the bottleneck for me to make the ideas simply come true within a very short time.
So I made this starter template for myself to create apps more easily, along with some good practices that I have learned from making those apps. Itβs strongly opinionated, but feel free to tweak it or even maintains your own forks. (see community maintained variation forks)
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.