GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sirjaf/myvitesse

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
cypress
cypress
 
 
locales
locales
 
 
public
public
 
 
src
src
 
 
test
test
 
 
.eslintignore
.eslintignore
 
 
.eslintrc
.eslintrc
 
 
.gitignore
.gitignore
 
 
.npmrc
.npmrc
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
README.zh-CN.md
README.zh-CN.md
 
 
cypress.json
cypress.json
 
 
index.html
index.html
 
 
netlify.toml
netlify.toml
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
tsconfig.json
tsconfig.json
 
 
vite.config.ts
vite.config.ts
 
 
windi.config.ts
windi.config.ts
 
 

Repository files navigation

Vitesse - Opinionated Vite Starter Template

Mocking up web app with Vitesse(speed)


Live Demo


English | 简体中文


Features

  • ⚡️ Vue 3, Vite 2, pnpm, ESBuild - born with fastness

  • 🗂 File based routing

  • 📦 Components auto importing

  • 🍍 State Management via Pinia

  • 📑 Layout system

  • 📲 PWA

  • 🎨 Windi CSS - next generation utility-first CSS framework

  • 😃 Use icons from any icon sets, with no compromise

  • 🌍 I18n ready

  • 🗒 Markdown Support

  • 🔥 Use the new <script setup> syntax

  • 📥 APIs auto importing - use Composition API and others directly

  • 🖨 Static-site generation (SSG) via vite-ssg

  • 🦔 Critical CSS via critters

  • 🦾 TypeScript, of course

  • ⚙️ Unit Testing with Vitest, E2E Testing with Cypress on GitHub Actions

  • ☁️ Deploy on Netlify, zero-config


Pre-packed

UI Frameworks

  • Windi CSS (On-demand TailwindCSS) - lighter and faster, with a bunch of additional features!
    • Windi CSS Typography

Icons

  • Iconify - use icons from any icon sets 🔍Icônes
  • unplugin-icons - icons as Vue components

Plugins

  • Vue Router
    • vite-plugin-pages - file system based routing
    • vite-plugin-vue-layouts - layouts for pages
  • Pinia - Intuitive, type safe, light and flexible Store for Vue using the composition api
  • unplugin-vue-components - components auto import
  • unplugin-auto-import - Directly use Vue Composition API and others without importing
  • vite-plugin-pwa - PWA
  • vite-plugin-windicss - Windi CSS Integration
  • vite-plugin-md - Markdown as components / components in Markdown
    • markdown-it-prism - Prism for syntax highlighting
    • prism-theme-vars - customizable Prism.js theme using CSS variables
  • Vue I18n - Internationalization
    • vite-plugin-vue-i18n - Vite plugin for Vue I18n
  • VueUse - collection of useful composition APIs
  • @vueuse/head - manipulate document head reactively

Coding Style

  • Use Composition API with <script setup> SFC syntax
  • ESLint with @antfu/eslint-config, single quotes, no semi.

Dev tools

  • TypeScript
  • Vitest - Unit testing powered by Vite
  • Cypress - E2E testing
  • pnpm - fast, disk space efficient package manager
  • vite-ssg - Static-site generation
    • critters - Critical CSS
  • Netlify - zero-config deployment
  • VS Code Extensions
    • Vite - Fire up Vite server automatically
    • Volar - Vue 3 <script setup> IDE support
    • Iconify IntelliSense - Icon inline display and autocomplete
    • i18n Ally - All in one i18n support
    • Windi CSS Intellisense - IDE support for Windi CSS
    • ESLint

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
  • vitesse-lite - Lightweight version of Vitesse
  • vitesse-nuxt3 - Vitesse for Nuxt 3
  • vitesse-nuxt-bridge - Vitesse for Nuxt 2 with Bridge
  • vitesse-webext - WebExtension Vite starter template
Community
  • vitesse-addons by @johncampionjr - additional options for integrations, including Prettier and Storybook
  • vitesse-ssr-template by @frandiox - Vitesse with SSR
  • vitespa by @ctholho - Like Vitesse but without SSG/SSR
  • vitailse by @zynth17 - Like Vitesse but with TailwindCSS
  • vitesse-modernized-chrome-ext by @xiaoluoboding - ⚡️ Modernized Chrome Extension Manifest V3 Vite Starter Template
  • vitesse-stackter-clean-architect by @shamscorner - A modular clean architecture pattern in vitesse template
  • vitesse-enterprise by @FranciscoKloganB - Consistent coding styles regardless of team-size.
  • vitecamp by @nekobc1998923 - Like Vitesse but without SSG/SSR/File based routing, includes Element Plus

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 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)

About

No description, website, or topics provided.

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Sponsor this project

Packages

Contributors

Languages

Generated from antfu-collective/vitesse
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.