Develop Charlotte
Before start, You can read ScratchAddons's Addon Basic to have a basic understanding of addon.
To begin with, You need clone Charlotte's repository to your computer and install dependencies:
bash
# Make sure Node.js & pnpm installed
git clone [email protected]:EurekaScratch/charlotte.git
cd charlotte
pnpm install #Install dependencies
pnpm run eureka:init ## Initialize Eureka addon
pnpm run build # Generate addon manifest
Debugging
Charlotte supports debugging lively powered by Violentmonkey's 'Track External Edits' feature. 0. Install Violentmonkey
- Run
pnpm run dev
to start dev server. - Open
http://localhost:10001/charlotte.user.js
in your broswer. - Install then click 'Track External Edits' button.
- Now you can debugging Charlotte lively. All changes in source will be synced in broswer.
Now you you can create your first addon!