A modern Vue.js-based frontend application for the Campaign Tool project, built with Vue 3, Vite, and TailwindCSS.
- Vue.js 3
- Vite
- TailwindCSS
- Pinia (State Management)
- Vue Router
- HeadlessUI
- Docker
- Docker and Docker Compose
The project is fully dockerized for both development and production environments.
Copy the .env
file to the root directory:
cp .env.example .env
Start the development environment using Docker Compose:
docker compose up --build -d
This will:
- Build the development container
- Install all dependencies
- Start the development server with hot-reload
- Mount your local files for real-time development
The development server will be available at http://localhost:5173/
/src
- Source code/public
- Static assetsDockerfile
- Docker configurationdocker-compose.yml
- Development Docker configuration
Development environment includes:
CHOKIDAR_USEPOLLING=true
- Enable file watchingWATCHPACK_POLLING=true
- Enable webpack pollingVITE_PORT=5173
- Development server portVITE_HOST=0.0.0.0
- Development server hostFAST_REFRESH=true
- Enable fast refresh
Run all tests:
docker compose exec frontend npm run test