Skip to content

Commit

Permalink
chore: add note on Kirby serve support
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed Aug 23, 2022
1 parent c548a73 commit be53628
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
*
*
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,20 @@ Global installation is supported as well, but not recommended.

Start a development server for the Panel plugin:

> ℹ️ This feature requires Kirby v3.7.4+.
```bash
kirbyup serve src/index.js
```

This creates `./index.dev.mjs`, telling Kirby to load the development version of the plugin from the dev server started by `kirbyup serve`, enhanced by features like hot module replacement and auto-reload.

If you prefer the watch mode to build a development bundle of the final Panel plugin or develop in an older version of Kirby (prior to 3.7.4), run:

```bash
kirbyup src/index.js --watch
```

### Production

```bash
Expand Down

0 comments on commit be53628

Please sign in to comment.