Go to file
2022-04-07 10:21:35 +08:00
.github chore: update ci 2022-04-07 10:21:35 +08:00
.vscode feat: enable ref sugar by default & remove annoying warnings (#319) 2022-03-23 22:48:07 +08:00
cypress chore: update deps 2022-04-05 18:14:15 +08:00
locales chore: lint 2022-04-05 18:14:24 +08:00
public feat: add vite-plugin-pages-sitemap (#303) 2022-03-07 04:16:26 +08:00
src chore: update deps 2022-04-07 05:56:24 +08:00
test fix: uprade deps and resolve type conflicts 2022-02-07 10:08:07 +08:00
.eslintignore chore: node_modules is ignored by eslint implicitly (#193) 2021-09-15 19:41:49 +08:00
.eslintrc feat: integrate vitest 2021-12-26 13:16:12 +08:00
.gitignore chore: update deps 2021-09-25 15:04:54 +08:00
.npmrc chore: update deps 2021-02-07 00:33:00 +08:00
cypress.json feat: setup cypress tests 2021-11-02 09:45:48 +08:00
index.html chore: update readme 2022-02-17 21:05:01 +08:00
LICENSE chore: update deps 2021-02-26 15:17:08 +08:00
netlify.toml chore: update deps 2021-11-28 01:31:02 +08:00
package.json chore: update deps 2022-04-07 05:56:24 +08:00
pnpm-lock.yaml chore: update deps 2022-04-07 05:56:24 +08:00
README.md feat: enable ref sugar by default & remove annoying warnings (#319) 2022-03-23 22:48:07 +08:00
README.zh-CN.md feat: enable ref sugar by default & remove annoying warnings (#319) 2022-03-23 22:48:07 +08:00
tsconfig.json feat: enable ref sugar by default & remove annoying warnings (#319) 2022-03-23 22:48:07 +08:00
unocss.config.ts chore: update deps 2022-02-23 02:51:08 +08:00
vite.config.ts chore: clean up 2022-03-30 21:20:26 +08:00

Vitesse - Opinionated Vite Starter Template

Mocking up web app with Vitesse(speed)


Live Demo


English | 简体中文


Features


Pre-packed

UI Frameworks

  • UnoCSS - The instant on-demand atomic CSS engine.

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 is also welcome!

Official
Community

Try it now!

Vitesse requires Node >=14

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

  • Change the author name in LICENSE
  • Change the title in App.vue
  • Change the hostname in vite.config.ts
  • 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)