A modern Vue.js starter template with TypeScript, Pinia, Vue Router, and more.
- 🚀 Vue 3 + Vite + TypeScript
- 🎨 Tailwind CSS for styling
- 📦 Pinia for state management
- 🛣️ Vue Router for routing
- ✅ Form validation with Vuelidate
- 🌙 Dark mode support
- 🧪 Testing with Vitest
- 📝 ESLint + Prettier for code quality
- Clone the repository
- Copy
.env.example
to.env
- Install dependencies:
npm install
- Start development server:
npm run dev
npm run dev
- Start development servernpm run build
- Build for productionnpm run preview
- Preview production buildnpm run lint
- Lint codenpm run format
- Format codenpm test
- Run testsnpm run test:coverage
- Run tests with coverage
src/
├── assets/ # Static assets
├── components/ # Reusable components
├── composables/ # Vue composables
├── router/ # Route configurations
├── stores/ # Pinia stores
├── utils/ # Utility functions
└── views/ # Page components
Create a .env
file with the following variables:
VITE_API_BASE_URL=https://api.example.com/v1
VITE_API_TIMEOUT=5000
VITE_ENABLE_ANALYTICS=true
VITE_ENABLE_DARK_MODE=true
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a pull request