Based on the Local Add-on Generator boilerplate.
The addon assumes the Visual Studio Code CLI being installed on the machine. This works on macOS.
Not yet tested on Linux. ** Won't work on Windows. Feel free to create a PR.**
Clone the repository into the following directory depending on your platform:
- macOS:
~/Library/Application Support/Local/addons - Windows:
C:\Users\username\AppData\Roaming\Local\addons - Debian Linux:
~/.config/Local/addons
You can replace 'Local' with 'Local Beta' if you want to create the add-on for Local Beta.
yarn install
- Clone repo directly into the add-ons folder (paths described above)
yarn install(install dependencies)yarn build- Open Local and enable add-on
-
@getflywheel/local provides type definitions for Local's Add-on API.
- Node Module: https://www.npmjs.com/package/@getflywheel/local-components
- GitHub Repo: https://github.com/getflywheel/local-components
-
@getflywheel/local-components provides reusable React components to use in your Local add-on.
- Node Module: https://www.npmjs.com/package/@getflywheel/local
- GitHub Repo: https://github.com/getflywheel/local-addon-api
- Style Guide: https://getflywheel.github.io/local-components
All files in /src will be transpiled to /lib using TypeScript. Anything in /lib will be overwritten.
If you are looking for help getting started, you can consult the documentation for the add-on generator.
You can consult the Local add-on API, which provides a wide range of values and functions for developing your add-on.
MIT