Ray Elliott 5494287999 | ||
---|---|---|
src | ||
.eslintignore | ||
.eslintrc-md.js | ||
.eslintrc.js | ||
.stylelintignore | ||
.stylelintrc.json | ||
README.md | ||
package-lock.json | ||
package.json | ||
svg.php |
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.