Go to file
2021-05-25 20:13:22 +08:00
.github Update issue templates 2021-04-17 04:31:12 +08:00
.vscode chore: update workspace setting 2021-03-08 14:40:44 +08:00
locales i18n: add german translation (#122) 2021-05-17 18:17:47 +08:00
public fix: accessibility (#57) 2021-02-12 13:00:32 +08:00
src feat: global components for volar 2021-05-25 20:13:22 +08:00
.eslintignore chore: updates 2021-02-27 16:51:01 +08:00
.eslintrc chore: update deps 2021-04-11 15:26:27 +08:00
.gitignore chore: update vite-plugin-pwa 2021-03-25 18:44:16 +01:00
.npmrc chore: update deps 2021-02-07 00:33:00 +08:00
components.d.ts feat: global components for volar 2021-05-25 20:13:22 +08:00
index.html Make lighthouse PWA compliant (#52) 2021-02-10 19:34:46 +08:00
LICENSE chore: update deps 2021-02-26 15:17:08 +08:00
netlify.toml feat: add assets cache & fix manifest content type (#54) 2021-02-11 21:34:46 +08:00
package.json feat: global components for volar 2021-05-25 20:13:22 +08:00
pnpm-lock.yaml feat: global components for volar 2021-05-25 20:13:22 +08:00
README.md docs: added vitespa to #variations (#124) 2021-05-22 12:14:30 +08:00
tsconfig.json feat: type-check source before build (#115) 2021-05-02 18:31:25 +08:00
vite.config.ts feat: global components for volar 2021-05-25 20:13:22 +08:00
windi.config.ts feat: global components for volar 2021-05-25 20:13:22 +08:00

Vitesse - Opinionated Vite Starter Template

Mocking up web app with Vitesse(speed)
Now with Windi CSS!


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 App.vue
  • 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)