-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the example block in it's entirety (#548)
* Remove the example block in it's entirety * Add some documetation about making new blocks
- Loading branch information
1 parent
4691281
commit 9cc4a49
Showing
5 changed files
with
20 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Create block routines | ||
An easy way of working with blocks in project base is to create the block through the package.json commands. | ||
|
||
## Create a new block | ||
To create a new block, run the following command in the terminal: | ||
|
||
```bash | ||
npm run create-block | ||
``` | ||
|
||
This will prompt you for the block name, and then create the block as a new plugin in the `plugins` directory. | ||
|
||
## Create a innerblock block | ||
To create a new innerblock block, run the following command in the terminal: | ||
|
||
```bash | ||
npm run create-innerblock-block | ||
``` | ||
|
||
This will prompt you for the block name, and then create the block as a new plugin in the `plugins` directory. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.