Skip to content
/ kirby-plugin Public template

Kirby setup for getting started with a plugin that also acts as a site when in development mode.

License

Notifications You must be signed in to change notification settings

OblikStudio/kirby-plugin

Repository files navigation

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

Kirby setup for getting started with a plugin that also acts as a site when in development mode.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •