Go to file
2021-02-07 02:57:56 +08:00
.github Create FUNDING.yml 2020-08-13 02:38:32 +08:00
.vscode chore: switch to volar 2021-01-22 19:04:21 +08:00
locales feat(i18n): add ko.json (#43) 2021-01-28 00:19:40 +08:00
public chore: async script 2020-12-21 17:34:47 +08:00
src Merge branch 'master' of https://github.com/antfu/vitesse 2021-02-07 00:33:03 +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 refactor: use ~/ for alias and improve ssg 2021-02-05 09:34:09 +08:00
LICENSE feat: tailwind 2 + script setup! 2020-11-28 14:14:36 +08:00
netlify.toml chore: fix netlify 2021-01-09 00:25:05 +08:00
package.json chore: update deps 2021-02-07 02:57:56 +08:00
pnpm-lock.yaml chore: update deps 2021-02-07 02:57:56 +08:00
postcss.config.js feat: ️ Vite 2! (#29) 2021-01-07 13:49:19 +08:00
README.md chore: mention about @vueuse/head 2021-02-05 09:35:43 +08:00
tailwind.config.js fix: added extend key to tailwind variants (#47) 2021-02-05 05:06:16 +08:00
tsconfig.json chore: update deps 2021-02-07 00:33:00 +08:00
vite.config.ts chore: update deps 2021-02-07 00:33:00 +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)