1.0.1 • Published 1 year ago

ergoblocks v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Blockly Components for ErgoScript

Usge

import * as Blockly from "blockly/core";
import { ergoScriptGenerator, blocks } from "ergoblocks";

Blockly.common.defineBlocks(
  Blockly.common.createBlockDefinitionsFromJsonArray(blocks)
);

// Your Blockly setup code here

Live Demo

Checkout ErgoScript Playground for a live demo.

Minimal Integration example

  1. Clone this repository git clone git@github.com:SavonarolaLabs/blockly-ergoscript.git to your own machine.
  2. Run cd blockly-ergoscript to navigate inside project folder.
  3. Run npm install to install the required dependencies.
  4. Run npm run start to run the development server and see the app in action.
  5. If you make any changes to the source code, just refresh the browser while the server is running to see them.

ErgoScript References

1.0.1

1 year ago

1.0.0

1 year ago