yarn add @oakjs/strapi-plugin
Strapi automatically detects the plugin and adds it to the list of available fields. You have nothing special to do.
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
.
Please check the CONTRIBUTING.md doc for contribution guidelines.
This software is licensed under MIT.