Go to file
John Campion Jr 01ddfaf80a
chore: updates (#69)
* Update tailwind branch to main

* This setup results in much faster TW HMR reloads
2021-02-19 12:08:26 +08:00
.github Create FUNDING.yml 2020-08-13 02:38:32 +08:00
.vscode chore: update vscode settings 2021-02-14 14:34:06 +08:00
locales chore: updates (#69) 2021-02-19 12:08:26 +08:00
public fix: accessibility (#57) 2021-02-12 13:00:32 +08:00
src chore: updates (#69) 2021-02-19 12:08:26 +08:00
.gitignore Update .gitignore (#40) 2021-01-22 09:58:10 +08:00
.npmrc chore: update deps 2021-02-07 00:33:00 +08:00
index.html Make lighthouse PWA compliant (#52) 2021-02-10 19:34:46 +08:00
LICENSE feat: tailwind 2 + script setup! 2020-11-28 14:14:36 +08:00
netlify.toml feat: add assets cache & fix manifest content type (#54) 2021-02-11 21:34:46 +08:00
package.json chore: updates (#69) 2021-02-19 12:08:26 +08:00
pnpm-lock.yaml chore: updates (#69) 2021-02-19 12:08:26 +08:00
postcss.config.js feat: ️ Vite 2! (#29) 2021-01-07 13:49:19 +08:00
README.md docs: feat layout system 2021-02-14 14:36:38 +08:00
tailwind.config.js fix: added extend key to tailwind variants (#47) 2021-02-05 05:06:16 +08:00
tsconfig.json feat: support layouts (#56) 2021-02-12 12:55:19 +08:00
vite.config.ts chore: update deps, close #61 2021-02-12 23:33:42 +08:00

Vitesse - Opinionated Vite Starter Template

Mocking up web app with Vitesse(speed)
Now with Vite 2.0!


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)