The official bundler for Kirby Panel plugins with zero-config usage and built-in HMR.
- ๐ Hot module replacement
- ๐ PostCSS support
- ๐งญ Add custom path aliases
- ๐ Run actions based on environment variables
- ๐ฆ Extends Vite with
kirbyup.config.js
# pnpm
pnpm add -D kirbyup
# npm
npm i -D kirbyup
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"
}
}
- Clone this repository
- Enable Corepack using
corepack enable
- Install dependencies using
pnpm install
- Run
pnpm run dev:prepare
- Start development server using
pnpm run dev
MIT License ยฉ 2021-PRESENT Johann Schopplich
MIT License ยฉ 2022-PRESENT Jonas Kuske