Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ar37-rs/vite-ts-tailwind-starter
https://github.com/ar37-rs/vite-ts-tailwind-starter
Last synced: about 21 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/ar37-rs/vite-ts-tailwind-starter
- Owner: ar37-rs
- License: mit
- Created: 2021-11-18T05:55:24.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-18T05:55:25.000Z (about 3 years ago)
- Last Synced: 2024-11-10T12:49:16.257Z (about 2 months ago)
- Language: Vue
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Vite + Vue 3 + Typescript + Tailwind Starter
Simple, opinionated, **fully typed**, and **production-ready** project template for Vite.
![Editor screenshot](src/assets/editor_screenshot.png)
This template is **practical** and **batteries included** but not overly complex or bloated. Also explicit configuration over magic; it should be easy to understand how everything works, strip out anything you don't need, and fast to modify things to your needs.
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](https://vite-ts-tailwind-starter.vercel.app/) for full docs. A [detailed changelog](./CHANGES.md) is available. This repository is also [mirrored on GitLab](https://gitlab.com/uninen/vite-ts-tailwind-starter).
## Features
- Vue 3
- **Fully typed** [Vuex 4](https://next.vuex.vuejs.org/) store
- Routing using [vue-router 4](https://next.router.vuejs.org/)
- TypeScript 4.4
- Tailwind CSS 2.2 w/ JIT compiler + following plugins preinstalled
- `@tailwindcss/aspect-ratio`
- `@tailwindcss/line-clamp`
- `@tailwindcss/typography`
- `@tailwindcss/forms`
- `firefox`-variant
- PostCSS 8 w/ `postcss-nesting` plugin
- Eslint
- Prettier
- Alias `@` to `/src`
- Manually configured global components in `main.ts`
- 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
- Using newest `script setup` syntax w/ Ref sugar (see the official [Script Setup documentation](https://v3.vuejs.org/api/sfc-script-setup.html) and [Ref Sugar RFC](https://github.com/vuejs/rfcs/discussions/369) discussion)
- Cypress.io e2e tests (configured similarly to `vue-cli`)
- Cypress.io component tests
- GitHub workflows
- Dependabot
- Automated e2e tests
- Automated component tests
- GitLab CI
- Automated e2e tests
- Automated component tests
## Elsewhere- Read my continuously updating learnings from Vite / Vue / TypeScript and other Web development topics from my [Today I Learned site](https://til.unessa.net/)
- [Follow @uninen](https://twitter.com/uninen) on Twitter## Contributing
Contributions are welcome! Please follow the [code of conduct](https://www.contributor-covenant.org/version/2/0/code_of_conduct/) when interacting with others.