This is a sandbox only theme used to showcase code for the handbox and kickstart training...
see https://github.com/bu-ist/responsive-child-starter-3x-block-editor
- Set up a new custom theme
- Install your development dependencies, including nvm if you haven't already.
nvm use
- Set the correct node version.npm install
- Install all development dependencies.npm start
- Watch for changes and compiles uncompressed assets.- Upload to your sandbox to see changes.
This repo contains several optional files and folders that can speed up development. These can be removed without issue and should be if not used. These are:
src/blocks/example-dynamic-3
- Example block.src/blocks/example-dynamic-2
- Example block.src/blocks/example-dynamic
- Example block.src/js/classic-editor.js
- Classic editor only scripts.src/js/block-editor.js
- Block editor only scripts.src/js/admin.js
- Admin only scripts.
Please update this if you have a newer version of Node and can verify the theme compiles with it.
Name | Version | Purpose |
---|---|---|
node.js | 20 LTS | Support for npm |
npm | 8.3.1 | Package management. See package.json for a full list of packages. |
webpack | 5.95.0 | Capable of transforming, bundling, or packaging just about any resource or asset. |
sass-loader | 12.6.0 | Compiles SASS/SCSS to CSS. |
@wordpress/scripts | 27.9.0 | Reusable scripts tailored for WordPress development. |
see https://github.com/bu-ist/responsive-child-starter-3x-block-editor for more setup info...