-
Notifications
You must be signed in to change notification settings - Fork 12
Development
Hollow Man edited this page May 2, 2024
·
2 revisions
- Run
npm i
to install dependencies - 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
It should be fine to directly modify the blockly
version under devDependencies
in package.json