Skip to content

Latest commit

 

History

History

strapi-plugin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 


GitHub npm CI codecov

@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.