Go to file
2020-12-23 03:00:17 +08:00
.github Create FUNDING.yml 2020-08-13 02:38:32 +08:00
.vscode chore: update vscode extensions 2020-08-12 23:46:12 +08:00
locales chore: improve lighthouse 2020-12-21 17:48:15 +08:00
public chore: async script 2020-12-21 17:34:47 +08:00
src chore: update 2020-12-23 03:00:17 +08:00
.gitignore chore: update 2020-12-23 02:52:23 +08:00
index.html chore: update 2020-12-23 02:48:47 +08:00
LICENSE feat: tailwind 2 + script setup! 2020-11-28 14:14:36 +08:00
netlify.toml chore: disable ssg temporary 2020-12-14 16:01:49 +08:00
package.json chore: update 2020-12-23 02:52:23 +08:00
pnpm-lock.yaml chore: update 2020-12-23 02:52:23 +08:00
postcss.config.js feat: markdown suport 2020-12-01 11:36:57 +08:00
README.md chore: improve lighthouse 2020-12-21 17:48:15 +08:00
tailwind.config.js chore: update 2020-12-23 03:00:17 +08:00
tsconfig.json chore: update deps 2020-09-08 20:42:09 +08:00
vite.config.ts chore: improve lighthouse 2020-12-21 17:48:15 +08:00

Vitess - Opinionated Vite Starter Template

Mocking up web app with Vitesse


Live Demo


Features


Pre-packed

UI Frameworks

Icons

Plugins

Coding Style

Dev tools

Variations

As 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!

Try it now!

Github Template

Create a repo from this template on Github.

Clone to local

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

Checklist

When you use this template, try follow the checklist to update your info properly

  • Rename name field in package.json
  • Change the author name in LICENSE
  • Change the title in index.html
  • Change the favicon in public
  • Remove the .github folder which contains the funding info
  • Clean up the READMEs and remove routes

And, enjoy :)

Usage

Development

Just run and visit http://localhost:3333

pnpm dev

Build

To build the App, run

pnpm build

And you will see the generated file in dist that ready to be served.

Deploy on Netlify

Go to Netlify and select your clone, OK along the way, and your App will be live in a minute.

Why

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)