Skip to content

Commit

Permalink
Small fixes to the readme instructions to specify the code must be ru…
Browse files Browse the repository at this point in the history
…n on the plugins folder
  • Loading branch information
mlaetitia committed Mar 23, 2024
1 parent eddbda9 commit 2b2e863
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Your plugin must have an entrypoint with the same name as the folder, i.e. `hell

## Creating a new block

You can add a new block to the monorepo by running the following steps in any folder:
You can add a new block to the monorepo by running the following steps. Make sure you're starting from the `wp-content/plugins` folder:

```
``` bash
git clone --no-checkout --sparse https://github.com/a8cteam51/special-projects-blocks-monorepo/
cd special-projects-blocks-monorepo
npx @wordpress/create-block
Expand All @@ -37,7 +37,7 @@ From here, you can start editing your block.

Start by downloading the block's zip file on your plugin folder

```
``` bash
git clone --no-checkout --sparse https://github.com/a8cteam51/special-projects-blocks-monorepo/
cd special-projects-blocks-monorepo
git sparse-checkout init --cone
Expand Down

0 comments on commit 2b2e863

Please sign in to comment.