|
| 1 | +# PrimeVue + TailwindCSS v4 Example |
| 2 | + |
| 3 | +## Overview |
| 4 | + |
| 5 | +This example demonstrates how to integrate PrimeVue with TailwindCSS v4, showcasing a modern and responsive dashboard interface. The project features a dark/light theme toggle, responsive layout, and various PrimeVue components styled with TailwindCSS. |
| 6 | + |
| 7 | +## Features |
| 8 | + |
| 9 | +- Dark/Light theme support |
| 10 | +- Fully responsive design |
| 11 | +- PrimeVue components with TailwindCSS styling |
| 12 | +- Chart.js integration |
| 13 | +- Powered by Vite for fast development |
| 14 | +- Real-time search functionality |
| 15 | +- Customizable UI components |
| 16 | + |
| 17 | +## Tech Stack |
| 18 | + |
| 19 | +- [Vue.js](https://vuejs.org/) - The Progressive JavaScript Framework |
| 20 | +- [PrimeVue](https://primevue.org/) - The Ultimate Vue UI Component Library |
| 21 | +- [TailwindCSS](https://tailwindcss.com/) - A utility-first CSS framework |
| 22 | +- [Vite](https://vitejs.dev/) - Next Generation Frontend Tooling |
| 23 | +- [Chart.js](https://www.chartjs.org/) - Simple yet flexible JavaScript charting |
| 24 | + |
| 25 | +## Getting Started |
| 26 | + |
| 27 | +1. Clone the repository: |
| 28 | + |
| 29 | +```bash |
| 30 | +git clone https://github.com/primefaces/primevue-examples.git |
| 31 | +cd primevue-examples/vite-tailwindv4 |
| 32 | +``` |
| 33 | + |
| 34 | +2. Install dependencies: |
| 35 | + |
| 36 | +```bash |
| 37 | +npm install |
| 38 | +``` |
| 39 | + |
| 40 | +3. Start the development server: |
| 41 | + |
| 42 | +```bash |
| 43 | +npm run dev |
| 44 | +``` |
| 45 | + |
| 46 | +4. Build for production: |
| 47 | + |
| 48 | +```bash |
| 49 | +npm run build |
| 50 | +``` |
| 51 | + |
| 52 | +## Project Structure |
| 53 | + |
| 54 | +``` |
| 55 | +vite-tailwindv4/ |
| 56 | +├── src/ |
| 57 | +│ ├── components/ # Vue components |
| 58 | +│ ├── composables/ # Vue composables |
| 59 | +│ ├── assets/ # Static assets |
| 60 | +│ └── App.vue # Root component |
| 61 | +├── public/ # Public static assets |
| 62 | +├── index.html # Entry HTML file |
| 63 | +└── vite.config.js # Vite configuration |
| 64 | +``` |
| 65 | + |
| 66 | +## Contributing |
| 67 | + |
| 68 | +Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://github.com/primefaces/primevue-examples/issues). |
| 69 | + |
0 commit comments