Go to file
Ray Elliott 3f859f465d use jsx 2020-08-12 14:55:40 +01:00
src use jsx 2020-08-12 14:55:40 +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 use jsx 2020-08-12 14:55:40 +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
svg.php use jsx 2020-08-12 14:55:40 +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.