Skip to content

Commit

Permalink
Add link and details about npx comand (#37376)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaz committed Dec 14, 2021
1 parent caa75e5 commit b5cbf1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/getting-started/create-block/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ From your plugins directory, to create your block run:
npx @wordpress/create-block gutenpride
```

The above command creates a new directory called `gutenpride`, installs the necessary files, and builds the block plugin. If you want an interactive mode that prompts you for details, run the command without the `gutenpride` name.
The [npx command](https://docs.npmjs.com/cli/v7/commands/npx) runs a command from a remote package, in this case our create-block package that will create a new directory called `gutenpride`, installs the necessary files, and builds the block plugin. If you want an interactive mode that prompts you for details, run the command without the `gutenpride` name.

You now need to activate the plugin from inside wp-admin plugins page.

Expand Down

0 comments on commit b5cbf1e

Please sign in to comment.