Go to file
2020-09-16 18:41:33 +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 fix: typo (#13) 2020-09-16 18:41:33 +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 feat: use the built-in dark mode by tailwind 2020-09-16 00:00:02 +08:00
pnpm-lock.yaml feat: use the built-in dark mode by tailwind 2020-09-16 00:00:02 +08:00
postcss.config.js chore: init 2020-08-10 02:43:04 +08:00
README.md chore: update readme 2020-09-16 00:04:25 +08:00
tailwind.config.js feat: use the built-in dark mode by tailwind 2020-09-16 00:00:02 +08:00
tsconfig.json chore: update deps 2020-09-08 20:42:09 +08:00
vite.config.ts fix: vite-plugin-components alias resolving, close #10 2020-08-26 11:15:08 +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 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: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.