-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…nt in blocks code. Adds Build Instructions readme file.
- Loading branch information
1 parent
d538183
commit ed29b89
Showing
10 changed files
with
157 additions
and
126 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,33 @@ | ||
# Build Instructions | ||
|
||
This document serves as an instruction manual for how to build the project during development. | ||
|
||
|
||
## 1. Install NPM | ||
|
||
Open a terminal window and navigate inside the project folder. | ||
Enter: | ||
`npm install` | ||
|
||
Wait for the process to finish, to ensure you have npm/npx installed. | ||
|
||
|
||
## 2. Edit files | ||
|
||
Edit files as usual. | ||
|
||
|
||
## 3. Use Webpack to watch the files inside the /blocks/ folder and auto-build | ||
|
||
Have Webpack watch the files and compile as necessary: | ||
`npx webpack --watch` | ||
|
||
The files will be automatically updated for you. | ||
|
||
|
||
## Base Tutorials | ||
|
||
This project was built by following these tutorials: | ||
|
||
1. https://calderaforms.com/2019/01/convert-shortcode-gutenberg-block/ | ||
2. https://css-tricks.com/learning-gutenberg-1-series-intro/ ** <-- Steps 3 and 7 are the closest to this project |
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
Oops, something went wrong.