Remove invalid plugin development tip, and revert structure comment

Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
This commit is contained in:
Derrick Mehaffy 2020-03-23 03:17:08 -07:00
parent c05b6d3f76
commit 3a831dc36c
No known key found for this signature in database
GPG Key ID: 5244F387D2FF3618
2 changed files with 1 additions and 19 deletions

View File

@ -3,7 +3,7 @@
The logic of a plugin is located at its root directory `./plugins/**`. The admin panel related parts of each plugin are contained in the `/admin` folder.
The folders and files structure are the following:
<!-- ```
```
/plugin
└─── admin // Contains the plugin's front-end
| └─── src // Source code directory
@ -38,18 +38,4 @@ The folders and files structure are the following:
└─── middlewares // Contains the plugin's middlewares
└─── models // Contains the plugin's API models
└─── services // Contains the plugin's API services
``` -->
```bash
plugin/
├── config/ # Contains the configurations of the plugin
│ ├── functions/
│ │ └── bootstrap.js # Asynchronous bootstrap function that runs before the app gets started
│ ├── policies/ # Folder containing the plugin's policies
│ ├── queries/ # Folder containing the plugin's models queries
│ └── routes.json # Contains the plugin's API routes
├── controllers/ # Contains the plugin's API controllers
├── middlewares/ # Contains the plugin's middlewares
├── models/ # Contains the plugin's API models
└── services/ # Contains the plugin's API services
```

View File

@ -14,7 +14,3 @@ Create a development project
In a new terminal window:
1. Generate a new plugin: `cd /path/to/myDevelopmentProject && strapi generate:plugin my-plugin`
::: tip
The admin panel integration is currently not available. You can still add backend features.
:::