mauricerenck / kirby-mono-plugin-base

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kirby Monolithic Plugin

Plugin setup based on this cookbook recipe.

Usage

  1. Create a repository using this template
  2. Clone the resulting repository in your XAMPP/MAMP documents folder
  3. composer install to install Kirby
  4. npm install -g parcel to install the Parcel bundler globally
  5. npm run dev to start Parcel in development mode
  6. Open the project in your browser

There are two key files:

  • index.php is your main plugin file
  • index.site.php is the test site's index file

Release

  1. npm run build to run Parcel in production mode
  2. Make sure all site files (like index.site.php) and other development-only files are listed in .gitattributes so that they're excluded from the release
  3. Release on GitHub

About

License:MIT License


Languages

Language:PHP 38.3%Language:Vue 31.2%Language:JavaScript 30.4%