-
Notifications
You must be signed in to change notification settings - Fork 13
Home
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,
- fork the project by click the top right
Fork
button in this project's page - clone the project with git clone command
git clone https://github.com/[your name]/scratch3-internet.git
- add remote main repo
git remote add upstream https://github.com/gasolin/scratch3-internet.git
git remote update
- start the scratch 3 with command
npm setup && npm start
. - You can open scratch 3 site in browser with
http://localhost:8601/
To create a extension,
- go
scratch-vm/src/extensions/
and create a extension folder namedscratch3_[name]
. - edit
scratch-vm/src/extension-support/extension-manager.js
to require the extension. - edit
scratch-gui/src/lib/libraries/extensions/index.jsx
to define your extension card.