The repository provides a simple example of a Chrome extension that interacts with Miro board using Miro Web SDK.
The following features are contained:
- Miro Web SDK 2.0
- Chrome Extension (Manifest V3)
- TypeScript
- Vite
- Clone the repository
- Run
npm i
- Run
npm run build
, which generatesdist
directory - Open Chrome and install the extension as follows:
- Go to
chrome://extensions
- Activate "Developer mode"
- Press "Unpacked" and choose the
dist
directory
- Go to
- Open your Miro board
- You will find "Put Star!!" button at the bottom right corner of the board. Pressing this button puts a yellow star and zoom to it, as explained on an official document.
- Run
npm run dev
- Open your Miro page
- Iterate the followings:
- Edit your extension file (
src/main.ts
) - Saving the file automatically triggers the Miro page to reload
- Edit your extension file (