You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/developer-docs/latest/development/plugins-development.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,8 @@ Strapi provides a [command line interface (CLI)](/developer-docs/latest/develope
20
20
2. Run `yarn strapi generate` or `npm run strapi generate` in a terminal window to start the interactive CLI.
21
21
4. Choose "plugin" from the list, press Enter, and give the plugin a name in kebab-case (e.g. `my-plugin`)
22
22
5. Choose either `JavaScript` or `TypeScript` for the plugin language.
23
-
6. Enable the plugin by adding it to the [plugins configurations](/developer-docs/latest/setup-deployment-guides/configurations/optional/plugins.md) file:
23
+
6. Create a plugins configuration file if one does not already exist: `./config/plugins.js` or `./config/plugins.ts` for TypeScript projects.
24
+
7. Enable the plugin by adding it to the [plugins configurations](/developer-docs/latest/setup-deployment-guides/configurations/optional/plugins.md) file:
24
25
25
26
<code-group>
26
27
@@ -56,6 +57,7 @@ Strapi provides a [command line interface (CLI)](/developer-docs/latest/develope
0 commit comments