davidperezgar / wp-bloques

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Curso de Creación de Bloques en Gutenberg para WordPress

Cómo instala @wordpress/scripts

npm i @wordpress/scripts

Podés ver la documentación completa aquí.

Cómo personalizar las carpetas de input y output para @wordpress/scripts

"build:custom": "wp-scripts build ./custompath/index.js --output-path=./othercustompath",
"start:custom": "wp-scripts start ./custompath/index.js --output-path=./othercustompath",

Cómo registrar un bloque con Block API v2

Podés ver la documentación completa aquí.

About


Languages

Language:JavaScript 54.1%Language:SCSS 28.6%Language:PHP 15.6%Language:CSS 1.7%