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