kirby-vite-tailwindcss-vue-basic-kit Tailwind Templates

Kirby Vite Tailwindcss Vue Basic Kit

A template project for Kirby CMS with Vite, Vue.js, and Tailwind CSS.

KVTV-Kirby-Stack

Welcome to the KVTV-Kirby-Stack! This stack combines Kirby CMS, Vite, Tailwind CSS, and Vue.js to create a powerful, modern web development environment.

✨ Features

  • Kirby CMS: A flexible and easy-to-use content management system.
  • Vite: A fast and efficient build tool and development server.
  • Tailwind CSS: A utility-first CSS framework for rapid UI development.
  • Vue.js: A progressive JavaScript framework for building user interfaces.

šŸš€ Getting Started

Follow these instructions to set up your development environment.

Prerequisites

  • A local server running (e.g., Laravel Herd, MAMP, XAMPP).
  • PHP installed.
  • Node.js and npm installed.

Installation

  1. Clone the repository:

    git clone https://github.com/JoranPeeters/kirby-vite-tailwindcss-vue-basic-kit.git
    
  2. Navigate to the project directory:

    cd kirby-vite-tailwindcss-vue-basic-kit
    
  3. Install PHP dependencies with Composer:

    composer install
    

Development

  1. Start the Kirby CMS with PHP's built-in server:

    php -S localhost:8000
    
  2. Open a new terminal and start the Vite development server:

    npm run dev
    
  3. Open your browser and go to http://localhost:8000 to see the site.

Building for Production

To build the assets for production, run:

npm run build

šŸ“‚ Project Structure

kvtv-kirby-stack/
ā”œā”€ā”€ src/
│   ā”œā”€ā”€ assets/
│   │   └── fonts/
│   │       ā”œā”€ā”€ Poppins-Regular.ttf
│   │       └── Poppins-Bold.ttf
│   ā”œā”€ā”€ components/
│   │   └── MyComponent.vue
│   ā”œā”€ā”€ main.js
│   └── tailwind.css
ā”œā”€ā”€ site/
│   ā”œā”€ā”€ config/
│   │   ā”œā”€ā”€ config.localhost.php
│   │   └── vite.config.php
│   ā”œā”€ā”€ snippets/
│   │   ā”œā”€ā”€ footer.php
│   │   └── header.php
│   └── templates/
│       └── default.php
ā”œā”€ā”€ public/
│   ā”œā”€ā”€ dist/
│   ā”œā”€ā”€ media/
│   ā”œā”€ā”€ .htaccess
│   └── index.php
ā”œā”€ā”€ .gitignore
ā”œā”€ā”€ composer.json
ā”œā”€ā”€ composer.lock
ā”œā”€ā”€ package.json
└── vite.config.js

šŸ“œ License

This project is licensed under the MIT License - see the LICENSE.md file for details.


Enjoy building with the KVTV-Kirby-Stack! If you encounter any issues, feel free to open an issue or submit a pull request.

Top categories

Loading Svelte Themes