johannschopplich / kirbyup

πŸ†™ Official bundler for Kirby Panel plugins
https://kirbyup.getkirby.com
MIT License
51 stars 3 forks source link
kirby kirby-cms kirby-panel kirby-plugin

kirbyup

kirbyup

npm version

The official bundler for Kirby Panel plugins with zero-config usage and built-in HMR.

Key Features

Setup

[!TIP] πŸ“– Read the documentation

# pnpm
pnpm add -D kirbyup

# npm
npm i -D kirbyup

Basic Usage

[!TIP] πŸ“– Read the documentation or skip starting from scratch and pick one of the following starters:

Having installed kirbyup, you can add the following scripts as shortcuts to the commands you will use most often:

{
  "scripts": {
    "dev": "kirbyup serve src/index.js",
    "build": "kirbyup src/index.js"
  },
  "devDependencies": {
    "kirbyup": "^3.1.3"
  }
}

πŸ’» Development

  1. Clone this repository
  2. Enable Corepack using corepack enable
  3. Install dependencies using pnpm install
  4. Run pnpm run dev:prepare
  5. Start development server using pnpm run dev

License

MIT License Β© 2021-PRESENT Johann Schopplich

MIT License Β© 2022-PRESENT Jonas Kuske