@oakjs/strapi-plugin
v3.5.4
Published
π³ Modern, lightweight & modulable page builder
Downloads
171
Readme
@oakjs/strapi-plugin
An Strapi plugin to add Oak as a custom field
Installation
yarn add @oakjs/strapi-plugin
Usage
Strapi automatically detects the plugin and adds it to the list of available fields. You have nothing special to do.
Customization
If you need to extend Oak's behavior, you need to create a new admin extension and use the oak:addons:add
hook to add your custom addons inside strapi's src/admin/app.js
:
export default {
bootstrap (app) {
app.registerHook('oak:addons:add', () => ({
fields: {},
components: {},
settings: {},
}));
},
}
βΉοΈ Remember to rebuild the whole admin after each change, using strapi build
.
Contributing
Please check the CONTRIBUTING.md doc for contribution guidelines.
License
This software is licensed under MIT.