Skip to content

Instantly share code, notes, and snippets.

@yukal
Created March 22, 2025 08:04
Show Gist options
  • Save yukal/802df641ce284d2623b52a2bf012ea5f to your computer and use it in GitHub Desktop.
Save yukal/802df641ce284d2623b52a2bf012ea5f to your computer and use it in GitHub Desktop.
Vue3 + Vite + Tailwind4 (Starterkit)
# Init Project
npm init -y vite@latest <your_project_name>
# Select a framework:
# ● Vue
# Select a variant:
# ● Official Vue Starter (npm create vue@latest)
# Select features to include in your project:
# ◼ Router (SPA development)
# ◼ Pinia (state management)
# ◼ Vitest (unit testing)
# ◼ End-to-End Testing
# ◼ Prettier (code formatting)
# Select an End-to-End testing framework:
# ● Cypress (https://www.cypress.io/)
# Enter inside project dir
cd <your_project_name>
# Add command "check" into package.json
# "scripts": {
# ...
# "check": "prettier --check src/"
# }
# Install dependencies
npm install
# Install Tailwind 4
npm install tailwindcss @tailwindcss/vite
# (optional) Install Tailwind forms
npm install -D @tailwindcss/forms
# Install additional packages
npm install vue-i18n
npm install lucide-vue-next
npm install @kyvg/vue3-notification
npm install @vuepic/vue-datepicker
# (optional) check formatted code
npm run check
# (optional) format code before commit
npm run format
# Run project in dev mode
npm run dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment