Skip to content

Development

Hollow Man edited this page May 2, 2024 · 2 revisions
  1. Run npm i to install dependencies
  2. Run npm start to start the development server, which supports hot reloading (automatically reload whenever you make any changes in the source code)

All the source code related to the plugin itself is in the src folder. The web pages behind the development server are located in the test folder, it integrates with the @blockly/workspace-backpack plugin by default. Feel free to modify those pages to fit your development needs. If you want an example to test with @blockly/plugin-scroll-options, check https://github.com/HollowMan6/workspace-multiselect/blob/demo/index.js. You can also find the set to test with multiple workspaces at https://github.com/HollowMan6/workspace-multiselect/tree/demo/multi-workspace

Try out different Blockly versions

It should be fine to directly modify the blockly version under devDependencies in package.json

Clone this wiki locally