mirror of
https://github.com/strapi/strapi.git
synced 2026-06-02 16:27:47 +00:00
59f37e17a4
* chore(examples): remove sdk-plugin from todo-example plugin Co-authored-by: Cursor <cursoragent@cursor.com> * chore: add readme for plugin * chore(examples): use npx to build plugin
strapi-plugin-todo-example
Optional contributor sandbox plugin for the Strapi monorepo.
Try it in getstarted
- From this folder, run
yarn build(usesnpx @strapi/sdk-plugin@6.0.1— not a workspace dependency). - In
examples/getstarted/config/plugins.js, settodo.enabledtotrue. - From
examples/getstarted, runyarn develop.
dist/ is gitignored; the build step is required before enabling the plugin.
Publishing a plugin outside this repo
For plugins installed from npm, add @strapi/sdk-plugin as a devDependency and point exports at built files under dist/. See sdk-plugin and in-repo packages such as packages/plugins/color-picker.