diff options
Diffstat (limited to 'support/doc/plugins/guide.md')
-rw-r--r-- | support/doc/plugins/guide.md | 7 |
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 | ||
1018 | PeerTube dev server (ran with `npm run dev` on `localhost:3000`) can't inject plugin CSS. | ||
1019 | It's the reason why we don't use the dev mode but build PeerTube instead. | ||
1020 | |||
1018 | You'll need to have a local PeerTube instance: | 1021 | You'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: |