Skip to content

Opinionated Vue/Vite starter template allows you to make apps quickly

Notifications You must be signed in to change notification settings

younessaitali/vue_3-vite-typescript-boilerplate

Repository files navigation

Vitesse

Vitesse - Opinionated Vite starter template with rigorous linting

Features

*CLI only. VSCode plugin does not support configuration files.

Pre-packed

UI Frameworks

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

Icons

Plugins

Nice to haves

  • Alias @ to <rootDir>
  • Alias ~ to <rootDir>/src a.k.a. <srcDir>
  • Predefined and fully typed global variables:
    • VITE_APP_VERSION is read from package.json version at build time
    • VITE_APP_BUILD_EPOCH is populated as new Date().getTime() at build time

Dev tools

Variations

This template is strongly opinionated with my personal preferences and feature sets. It is a fork of the original template created by @antfu and also takes inspiration from Vitesse-Enterprise made by @FranciscoKloganB.

For an up-to-date list of official and community contributions to the vitesse ecosystem, we recommend checking the official repository's variations section.

Try it now

GitHub Template

Create a repo from this template on GitHub.

Usage

Development

Run and visit http://localhost:3000

pnpm dev

Code formatting

pnpm lint

Testing

# Interactive test run
pnpm test:e2e
pnpm test:unit

Build for production

# Ouputs files to dist folder. Ready to be served in SPA mode.
pnpm build:spa
# Outputs files to dist folder which passed through the Vite SSG pipeline. Ready to be served.
pnpm build:ssg

Deploy on Netlify

Go to Netlify and select your clone, OK along the way, and your App will be live in a minute.

About

Opinionated Vue/Vite starter template allows you to make apps quickly

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published