智慧物流-晋恒通-竖屏
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1.2 KiB

Vite Typescript + Tailwind Starter

Simple, opinionated, and production-ready project template for Vite.

See changelog for latest changes.

Features

  • Vue 3
  • Vuex 4 store (fully typed)
  • TypeScript
  • Tailwind CSS w/ JIT compiler + following plugins preinstalled
    • @tailwindcss/aspect-ratio
    • @tailwindcss/line-clamp
    • @tailwindcss/typography
    • @tailwindcss/forms
  • PostCSS 8 w/ postcss-nesting plugin
  • Eslint
  • Prettier
  • Alias @ to <project_root>/src
  • Define _APP_VERSION from package.json version at build time
  • Using new script setup syntax (see Vue rfc #227)
  • Cypress.io e2e tests (configured similarly to vue-cli)
  • GitHub workflows
    • Dependabot
    • Automated e2e tests
  • GitLab CI

Project setup and usage

Install dependencies:

yarn

Run development server:

yarn dev

Open Cypress test runner:

yarn test

Run Cypress tests in headless mode:

yarn test:ci

Contributing

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


Follow @uninen on Twitter