How do we import Blockly into an Angular 7 application?

后端 未结 5 1555
囚心锁ツ
囚心锁ツ 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条回答
  •  猫巷女王i
    2021-01-20 18:40

    You should add it to angular.json firstly. So angular CLI can build it.

            "scripts": [
              "../blockly.js"
            ]
    

提交回复
热议问题