Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

CLI toolkit for developing a Strapi plugin

License

NotificationsYou must be signed in to change notification settings

strapi/sdk-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Everything you need to develop an awesome Strapi plugin


Chat on Discord


sdk-plugin is a set of command line utilities for developing a Strapi plugin

Getting Started

If you're setting up a brand new plugin we recommend you use theinit command to get started:

npx @strapi/sdk-plugin@latest init my-plugin

That will create a directory with all your plugin project files.

Once your project has been installed, several commands are available to you.

Commands

All of the following comands have the following options available:

---d, --debug – Enable debugging mode with verbose logs (default: false)----silent – Don't log anything (default: false)---h, --help – Display help for command

init [path]

Creates a new plugin at the given path.

build

Builds your current package based on the configuration in yourpackage.json.

  • --minify – minifies the output (defaultfalse).
  • --sourcemap – generates sourcemaps for the output (defaulttrue).
yarn run build

watch

Watch & compile your strapi plugin for local development.

yarn run watch

watch:link

Recompiles your plugin automatically on changes and runs yalc push --publish

yarn run watch:link

verify

Verifies the output of your plugin before publishing it

yarn run verify

About

CLI toolkit for developing a Strapi plugin

Resources

License

Code of conduct

Stars

Watchers

Forks

Contributors12


[8]ページ先頭

©2009-2025 Movatter.jp