mirror of
https://github.com/strapi/strapi.git
synced 2025-12-29 16:16:20 +00:00
Grammar and punctuation of customization.md
Signed-off-by: Bart Duisters <bartduisters@bartduisters.com>
This commit is contained in:
parent
d24a94d44e
commit
e303178150
@ -4,21 +4,21 @@
|
||||
|
||||
In strapi you can install plugins in your `node_modules`. This allows for easy updates and respect best practices. To customize those installed plugins you can work in the `/extensions` directory. It contains all the plugins' customizable files.
|
||||
|
||||
Some plugins will create files in these folders so you can then modify them. You can also create certain files manually to add some custom configuration for example.
|
||||
Some plugins will create files in these folders so you can then modify them. You can also create certain files manually to add some custom configuration.
|
||||
|
||||
Extensions folder structure:
|
||||
|
||||
- `extensions/`
|
||||
- `**`: Plugin Id
|
||||
- `admin`: You can extend a plugin's admin by creating a file with the same name, doing so will override the original one.
|
||||
- `config`: You can extend a plugin's configuration by adding a settings.json file with your custom configuration
|
||||
- `models`: Contains the plugin's models that you have overwritten (e.g: When you add a relation to the User model)
|
||||
- `controllers`: You can extend the plugin's controllers by creating controllers with the same names and override certain methods
|
||||
- `services`: You can extend the plugin's services by creating services with the same names and override certain methods
|
||||
- `config`: You can extend a plugin's configuration by adding a settings.json file with your custom configuration.
|
||||
- `models`: Contains the plugin's models that you have overwritten (e.g. when you add a relation to the User model).
|
||||
- `controllers`: You can extend the plugin's controllers by creating controllers with the same names and override certain methods.
|
||||
- `services`: You can extend the plugin's services by creating services with the same names and override certain methods.
|
||||
|
||||
## Admin extension
|
||||
|
||||
The admin panel is a `node_module` that is similar to a plugin but the slight difference that it encapsulate all the installed plugin of your application.
|
||||
The admin panel is a `node_module` that is similar to a plugin, with the slight difference that it encapsulates all the installed plugin of your application.
|
||||
|
||||
To extend this package you will have to create an `admin` folder at the root of your application.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user