Skip to content
gasolin edited this page Nov 5, 2019 · 4 revisions

What's related to extension development:

  • scratch-gui: includes all elements of scratch 3, need to define extension card here
  • scratch-vm: includes all extensions

To start,

  1. fork the project by click the top right Fork button in this project's page
  2. clone the project with git clone command git clone https://github.com/[your name]/scratch3-internet.git
  3. add remote main repo git remote add upstream https://github.com/gasolin/scratch3-internet.git git remote update
  4. start the scratch 3 with command npm setup && npm start.
  5. You can open scratch 3 site in browser with http://localhost:8601/

To create a extension

  1. go scratch-vm/src/extensions/ and create a extension folder named scratch3_[name].
  2. edit scratch-vm/src/extension-support/extension-manager.js to require the extension.
  3. edit scratch-gui/src/lib/libraries/extensions/index.jsx to define your extension card.

References

Clone this wiki locally