Building your first addon

To help you get started with building an addon using Angular we've created a sample project which you can clone down from GitHub. This project has all the lifecycle hooks set up and includes the Squirrel Helper Library for you.

Clone the project from GitHub

git clone https://github.com/Squirrel-365/Squirrel-Addon-Angular.git

Run the addon

Once cloned cd into the project folder, and then you will need to install all the dependencies and run the project to be able to see it in Squirrel.

npm install
npm run start

This will run the addon on http://localhost:4401/

Testing the addon in Squirrel

Open Squirrel and add the "Add-on Developer Program" component to the canvas

Once added, enter the addon URL (http://localhost:4401/) in the properties panel and click the "Get json files" button .

This will load up the properties panel, and show the addon web application

Walkthrough video

Last updated

Was this helpful?