1.0.0 • Published 9 months ago

@aw-studio/strapi-plugin-boolean-field v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Strapi plugin boolean-field

This strapi plugin adds a new custom field that acts like a boolean but has an alternative switch like appearance.

npm i @aw-studio/strapi-plugin-boolean-field

Strapi plugins config

After installing the package via npm it has to be enabled inside the plugins config of strapi. If it doesn't already exist go into the root/config folder and add a plugins.js or plugins.ts.

export default ({ env }) => ({
  "boolean-field": {
    enabled: true,
  },
});

After the config has been updated npm run build in the root directory of your strapi project.