aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-05-23 09:09:31 +0200
committerChocobozzz <me@florianbigard.com>2022-05-23 09:09:31 +0200
commit09f33366a765b860555236af877e5f37b6886d02 (patch)
tree587a33e5789828f30d579d903aaae5d481056a56 /support
parent53679c111ed8b4f86317414e59a9178a6d9c83e5 (diff)
downloadPeerTube-09f33366a765b860555236af877e5f37b6886d02.tar.gz
PeerTube-09f33366a765b860555236af877e5f37b6886d02.tar.zst
PeerTube-09f33366a765b860555236af877e5f37b6886d02.zip
Add note about dev mode when testing a plugin
Diffstat (limited to 'support')
-rw-r--r--support/doc/plugins/guide.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md
index 52e3b6052..e460f214e 100644
--- a/support/doc/plugins/guide.md
+++ b/support/doc/plugins/guide.md
@@ -1015,13 +1015,16 @@ You built files are in the `dist/` directory. Check `package.json` to correctly
1015 1015
1016### Test your plugin/theme 1016### Test your plugin/theme
1017 1017
1018PeerTube dev server (ran with `npm run dev` on `localhost:3000`) can't inject plugin CSS.
1019It's the reason why we don't use the dev mode but build PeerTube instead.
1020
1018You'll need to have a local PeerTube instance: 1021You'll need to have a local PeerTube instance:
1019 * Follow the [dev prerequisites](https://github.com/Chocobozzz/PeerTube/blob/develop/.github/CONTRIBUTING.md#prerequisites) 1022 * Follow the [dev prerequisites](https://github.com/Chocobozzz/PeerTube/blob/develop/.github/CONTRIBUTING.md#prerequisites)
1020 (to clone the repository, install dependencies and prepare the database) 1023 (to clone the repository, install dependencies and prepare the database)
1021 * Build PeerTube (`--light` to only build the english language): 1024 * Build PeerTube:
1022 1025
1023``` 1026```
1024$ npm run build -- --light 1027$ npm run build
1025``` 1028```
1026 1029
1027 * Build the CLI: 1030 * Build the CLI: