Skip to content

johannschopplich/realtroll.de

Repository files navigation

realtroll.de

Note

Forked from kirby-vite-unocss-kit. Head over to its repository to find out more about it.

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
  1. Install the required npm dependencies:
pnpm install
  1. Install the required Composer dependencies:
composer install

Usage

Development

  1. Start the Vite development server and watch for file changes accordingly:
pnpm run dev
  1. 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 deploy.ploi.sh for deployment instructions.

License

MIT License © 2021-PRESENT Johann Schopplich