프로젝트
GitHub에서 보기
Uninen/vite-ts-tailwind-starter
소개
테스트와 CI를 포함한, Vite + Vue 3 + TypeScript + Tailwind CSS의 의견이 반영된 스타터 템플릿입니다.
웹 및 앱 개발What you can do
- 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
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalVite + 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
typographyplugin, 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_VERSIONis read frompackage.jsonversion at build time and stored to the store asstore.appMeta.versionVITE_APP_BUILD_EPOCHis populated asnew Date().getTime()at build time and stored to the store asstore.appMeta.buildTime
Very Fast (TM) To Reset
- Delete
src/components/HelloWorld.vueandsrc/components/__tests__/HelloWorld.spec.ts - Delete the content from
@/pages/IndexPage.vue - Delete demo styles from
@/assets/base.css - Profit!11
Elsewhere
- Follow @uninen on Twitter or unessa.net on Bluesky
- Read my continuously updating learnings from Vite / Vue / TypeScript and other Web development topics from my Today I Learned site
Contributing
Contributions are welcome! Please follow the code of conduct when interacting with others.
관련 프로젝트 살펴보기
불러오는 중…