This plugin was created with Plugma using the React framework.
-
Install the dependencies and watch for changes while developing:
npm install npm run dev
-
Open the Figma desktop app and import the plugin:
- Open a file in Figma.
- Search for "Import plugin from manifest..." using the Quick Actions bar.
- Choose the
manifest.jsonfile from thedistfolder.
-
Manage
manifestdetails from insidepackage.json.
Run this command to preview your plugin in the browser during development.
npm run previewMake sure the plugin is open in the Figma desktop app.
Before publishing your plugin, make sure to create a build. If not, it will still point to the dev server and won't work properly for users.
npm run buildNow you can publish the plugin from the Figma desktop app.
See the Plugma docs for further information.