Go to file
Ray Elliott bcd553f4f0 rename variable 2020-08-12 19:52:02 +01:00
src dynamically use theme and block slugs 2020-08-12 19:29:39 +01:00
.eslintignore initial commit 2020-08-12 14:20:11 +01:00
.eslintrc-md.js initial commit 2020-08-12 14:20:11 +01:00
.eslintrc.js initial commit 2020-08-12 14:20:11 +01:00
.stylelintignore initial commit 2020-08-12 14:20:11 +01:00
.stylelintrc.json initial commit 2020-08-12 14:20:11 +01:00
README.md fix formatting 2020-08-12 14:56:50 +01:00
index.php rename variable 2020-08-12 19:52:02 +01:00
package-lock.json initial commit 2020-08-12 14:20:11 +01:00
package.json initial commit 2020-08-12 14:20:11 +01:00

README.md

TODO - currently the block name is hardcoded to svg and theme is room-vw. Need to use templating to create a <block-name>.php file (based on svg.php) with the correct theme/block names.

Usage

npm install

# build and watch for development
npm run dev

# build for production
npm run build

The links to the WordPress default config files are required so that code editors pick up the correct linting configurations.