Go to file
2020-08-22 01:10:18 +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 i18n(es): add Spanish translation (#8) 2020-08-21 00:45:19 +08:00
public chore: SVG favicon with dark mode support (#5) 2020-08-12 02:20:47 +08:00
src chore: refactoring 2020-08-22 01:10:18 +08:00
.gitignore chore: init 2020-08-10 02:43:04 +08:00
index.html chore: SVG favicon with dark mode support (#5) 2020-08-12 02:20:47 +08:00
LICENSE chore: update 2020-08-10 13:37:49 +08:00
netlify.toml chore: fix netlify build 2020-08-15 01:08:58 +08:00
package.json chore: refactoring 2020-08-22 01:10:18 +08:00
pnpm-lock.yaml feat: config dir alias 2020-08-22 00:12:07 +08:00
postcss.config.js chore: init 2020-08-10 02:43:04 +08:00
README.md chore: update readme 2020-08-21 00:06:21 +08:00
tailwind.config.js chore: enable tailwind purge on build, close #6 2020-08-20 20:45:04 +08:00
tsconfig.json feat: config dir alias 2020-08-22 00:12:07 +08:00
vite.config.ts feat: config dir alias 2020-08-22 00:12:07 +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

Try it now!

Github Template

Create a repo from this template on Github.

Clone to local

If you prefer do to it manually with 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 setup your clones, try follow the checklist to update 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:3000

pnpm dev

Build

To build the App, run

pnpm build

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

Deploy on Netlify

Go to Netlify and select you 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.