An open API service indexing awesome lists of open source software.

https://github.com/martinille/starter-template-vite-vue3-sass-tailwind4-daisyui5

Start your Vue3 project with pre-configured Sass, TailwindCSS 4 and DaisyUI 5 implementation.
https://github.com/martinille/starter-template-vite-vue3-sass-tailwind4-daisyui5

daisyui daisyui-v5 starter-kit starter-template tailwind-css-template tailwindcss tailwindcss-v4 vue-template

Last synced: about 2 months ago
JSON representation

Start your Vue3 project with pre-configured Sass, TailwindCSS 4 and DaisyUI 5 implementation.

Awesome Lists containing this project

README

        

# Template: Vite + Vue 3 + Sass + Tailwind 4 + DaisyUI 5
![Starter template: Vite + Vue 3 + Sass + Tailwind 4 + DaisyUI 5](https://tpl-vue3-tailwind4-daisyui5.brown.sk/template-image.png)

This template should help get you started developing with Vue 3 in Vite. The template is based on the [Vite + Vue 3 template](https://vite.new/vue), but with some additional features:

- ✅ [Vite](https://vite.dev/) for the build tool
- ✅ [Vue 3](https://vuejs.org/) for the frontend
- ✅ [Vue Router 4](https://router.vuejs.org/) for routing
- ✅ [Sass](https://sass-lang.com/) for styling
- ✅ [Tailwind CSS 4](https://tailwindcss.com/) for styling
- ✅ [DaisyUI 5](https://daisyui.com/) for additional Tailwind CSS components
- ✅ [PostCSS](https://postcss.org/) for transforming CSS with JS plugins
- ✅ **Theme configuration** (light, dark, ...)
- ✅ **UI blocks (components)** pre-configured with DaisyUI

### Demo
- 🌐 [https://tpl-vue3-tailwind4-daisyui5.brown.sk/](https://tpl-vue3-tailwind4-daisyui5.brown.sk/)

### Template initialization by forking (recommended) 🍴
⏩ Use github's template feature to create a new repository based on this template:

→ [Create a repository from this template](https://github.com/new?template_name=starter-template-vite-vue3-sass-tailwind4-daisyui5&template_owner=martinille) ←

### Template initialization by cloning
⏩ Clone the repository:
```bash
git clone https://github.com/martinille/starter-template-vite-vue3-sass-tailwind4-daisyui5.git
```

⏩ Change the directory:
```bash
cd
```

⏩ Remove the `.git` directory:
```bash
rm -rf .git
```

⏩ Install the dependencies:
```bash
npm install
```

### Development
- ⏩ Run the Vite development server with HMR: `npm run dev`

### Production
- ⏩ Build the project: `npm run build`

### Folder structure
- 📁 `public/` - Static files
- 📁 `src/` - Source files
- 📁 `assets/` - Static assets
- 📁 `images/` - Images
- 📁 `styles/` - Styles
- 📁 `vendor/` - Vendor styles (Tailwind CSS, DaisyUI)
- 📁 `components/` - Vue components
- 📁 `router/` - Vue Router configuration
- 📁 `views/` - Vue views
- 📄 `App.vue` - Root component
- 📄 `main.js` - Entry point

### GitHub Pages

The template includes a GitHub workflow for deployment to GitHub Pages. To enable GitHub Pages:

1. Visit your repository's Settings
2. Select the Pages section
3. In the "Build and deployment" area, set the source to "GitHub Actions"

### TODO
- [ ] 🕘 Add unit tests
- [ ] 🕘 Minimal template (no additional features)