Skip to content

johannschopplich/johannschopplich.com

Repository files navigation

johannschopplich.com

A powerful and performant integration of Vite, UnoCSS and Kirby. This project seeks to provide a best practice that combines these three solutions while focusing on the developer experience.

Installation

  1. Duplicate the .env.development.example as .env:
    cp .env.development.example .env
  2. Install the required npm dependencies:
    pnpm install
  3. Install the required Composer dependencies:
    composer install

Usage

Development

  1. Start the Vite development server and watch for file changes accordingly:
    pnpm run dev
  2. Run the PHP built-in web server or use a development web server of your choice (like Laravel Valet).
    composer start

Production

Build the frontend assets:

pnpm run build

Deployment

Note

See ploi-deploy.sh for deployment instructions.

License

MIT License ยฉ 2021-PRESENT Johann Schopplich