Skip to content

Commit e008b83

Browse files
authored
Fix TypeScript-related instructions in plugins development documentation (#1779)
* fix 2 mistakes * plugin section init * Revert "plugin section init" This reverts commit 295ab54.
1 parent b2610dd commit e008b83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: docusaurus/docs/dev-docs/plugins-development.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@ Strapi provides a [command line interface (CLI)](/dev-docs/cli) for creating plu
5757
</TabItem>
5858
</Tabs>
5959

60-
7. (*TypeScript-specific*) Run `npm install` or `yarn` in the newly-created plugin directory.
60+
7. Run `npm install` or `yarn` in the newly-created plugin directory.
6161
8. (*TypeScript-specific*) Run `yarn build` or `npm run build` in the plugin directory. This step transpiles the TypeScript files and outputs the JavaScript files to a `dist` directory that is unique to the plugin.
6262
9. Run `yarn build` or `npm run build` at the project root.
6363
10. Run `yarn develop` or `npm run develop` at the project root.
6464

6565
Plugins created using the preceding directions are located in the `plugins` directory of the application (see [project structure](/dev-docs/project-structure)).
6666

6767
:::note
68-
During plugin development it is helpful to use the `--watch-admin` flag to toggle hot reloading of the admin panel. See the [Admin panel customization](/dev-docs/admin-panel-customization) documentation for more details. (TypeScript specific) While developing your plugin, you can run `yarn develop` or `npm run develop` in the plugin directory to watch the changes to the TypeScript server files.
68+
During plugin development it is helpful to use the `--watch-admin` flag to toggle hot reloading of the admin panel. See the [Admin panel customization](/dev-docs/admin-panel-customization) documentation for more details. (TypeScript specific) While developing your plugin, you can run `yarn develop --watch-admin` or `npm run develop -- --watch-admin` in the plugin directory to watch the changes to the TypeScript server files.
6969
:::
7070

7171
:::tip

0 commit comments

Comments
 (0)