How do we import Blockly into an Angular 7 application?

后端 未结 5 1626
囚心锁ツ
囚心锁ツ 2021-01-20 17:50

I\'m trying to use Blockly in an Angular 7 application but I\'m unable to inject the Blockly editor.

I have downloaded the files from https://developers.google.com/b

5条回答
  •  情书的邮戳
    2021-01-20 18:35

    Use ngx-blockly instead of blockly , ngx-blockly is angular port of blockly.

    follow the steps explained in npm page

    npm install ngx-blockly --save
    

    https://www.npmjs.com/package/ngx-blockly

提交回复
热议问题