mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 03:43:34 +00:00 
			
		
		
		
	Remove invalid plugin development tip, and revert structure comment
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
This commit is contained in:
		
							parent
							
								
									c05b6d3f76
								
							
						
					
					
						commit
						3a831dc36c
					
				@ -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
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
@ -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.
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user