Skip to content
Proyek

Uninen/vite-ts-tailwind-starter

Lihat di GitHub

Tentang

Template starter Vite + Vue 3 + TypeScript + Tailwind CSS dengan pilihan konfigurasi yang sudah ditentukan, dilengkapi pengujian dan CI.

Pengembangan web dan aplikasi

Cara angka ini diukur

Yang dapat Anda lakukan

  • Vue 3 with Pinia store and vue-router routing
  • Automatic imports via unplugin-auto-import
  • Tailwind CSS with the official typography plugin, plus automatic icons using Iconify for Tailwind CSS
  • Comprehensive tooling configs for TypeScript, Eslint, Oxlint, Prettier, EditorConfig and recommended settings and configs for VSCode

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
-1
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Vite + Vue 3 + Typescript + Tailwind Starter

Oopinionated, fully typed, and production-ready project template for Vite.

The goal of this template is to be practical and batteries included starting point for both quick experiments and projects designed for production quality.

Includes plenty of examples and documentation of how to do things but minimal cruft to delete to get you going.

Please check out the homepage for full docs. A detailed changelog is available.

Features

  • Vue 3 with Pinia store and vue-router routing
  • Automatic imports via unplugin-auto-import
  • Tailwind CSS with the official typography plugin, plus automatic icons using Iconify for Tailwind CSS
  • Comprehensive tooling configs for TypeScript, Eslint, Oxlint, Prettier, EditorConfig and recommended settings and configs for VSCode
  • Full testing setup using Vitest (components) and Playwright (e2e) together with Github Actions for CI/CD including code coverage reporting in PRs.

Code Features / Opinions

  • Project root aliased as @ (import { myUtilsThing } from @/utils/mylib)
  • Router instance available in the store: this.router.push('/')
  • Any of 100000+ Iconify icons available as Tailwind classes: <span class="iconify mdi--home"></span>
  • Predefined and fully typed global variables:
    • VITE_APP_VERSION is read from package.json version at build time and stored to the store as store.appMeta.version
    • VITE_APP_BUILD_EPOCH is populated as new Date().getTime() at build time and stored to the store as store.appMeta.buildTime

Very Fast (TM) To Reset

  1. Delete src/components/HelloWorld.vue and src/components/__tests__/HelloWorld.spec.ts
  2. Delete the content from @/pages/IndexPage.vue
  3. Delete demo styles from @/assets/base.css
  4. Profit!11

Elsewhere

Contributing

Contributions are welcome! Please follow the code of conduct when interacting with others.

Jelajahi proyek terkait

Memuat…