/lexical-variable-demo

Demonstrate the lexical variable plugin

Primary LanguageHTML

lexical-variable-demo Built on Blockly

This is a demo of the use of the blockly-block-lexical-variables Blockly plugin. Note that it uses Webpack and ES6 Modules.

Installation

Optionally update to the latest version of the plugin:

npm update @mit-app-inventor/blockly-block-lexical-variables

then

npm install --legacy-peer-deps

Running

npm run start

Browse

http://localhost:3000/index.html

Clicking the "Generate Code" link will send the generated code to the browser's console.

Build a deployable version into the 'docs' directory

npm run build