This is a demo of the use of the
blockly-block-lexical-variables
Blockly plugin. Note that it uses Webpack and ES6 Modules
.
Optionally update to the latest version of the plugin:
npm update @mit-app-inventor/blockly-block-lexical-variables
then
npm install --legacy-peer-deps
npm run start
http://localhost:3000/index.html
Clicking the "Generate Code" link will send the generated code to the browser's console.
npm run build