Go to file
Ray Elliott 0c43980e8f add prettier config symlink 2020-08-13 11:28:18 +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
.prettierrc.js add prettier config symlink 2020-08-13 11:28:18 +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 update README 2020-08-13 11:09:05 +01:00
index.php insert missing semicolon 2020-08-12 20:27:36 +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

  • Add a basic attribute.
  • Add some default components to src/index.js.
    In particular, most used UI controls (e.g., colour picker?).
    Definitely include one using withState. Must ensure they are easily able to be quickly removed.

Usage

Edit index.php, src/index.js and src/*.scss files, so that the correct block name and namespace are used.

npm install

# build and watch for development
npm run dev

# build for production
npm run build

The symbolic links to the WordPress default configuration files are required so that code editors will use the correct linting configurations.