Your IP : 3.128.199.242


Current Path : /home/ncdcgo/public_html/wp-content/plugins/embed-pdf-viewer/blocks/
Upload File :
Current File : /home/ncdcgo/public_html/wp-content/plugins/embed-pdf-viewer/blocks/build.md

# Block build Instructions

https://developer.wordpress.org/block-editor/tutorials/javascript/js-build-setup/

Ensure that @wordpress/scripts are installed.
* `npm install @wordpress/scripts --save-dev --save-exact`

Ensure that classnames is installed.
* `npm install classnames --save`

Use node 10.x
`nvm use .`

If `package.json` has the above dependencies then `npm install`

`npm start` for testing.

`npm run build`


## Add custom SVG icon

https://since1979.dev/wordpress-adding-custom-svg-icons-to-your-gutenberg-blocks-plugin/