This plugin was created with Plugma using the Svelte framework.
Install the dependencies and watch for changes while developing:
npm install
npm run dev
Open the Figma desktop app, import the plugin and run.
Create a .env
file in the root of the project with the following variables:
VITE_PUBLIC_SUPABASE_API_URL = ''
VITE_PUBLIC_SUPABASE_ANON_KEY = ''
- Open the Figma desktop app and open a file
- Search for "Import plugin from manifest..." using the Quick Actions bar.
- Choose the
manifest.json
file from thedist
folder.
Open http://localhost:<port> to preview your plugin in different browsers.
Make sure the plugin is open in the Figma desktop app.
Before publishing, make sure to create a build:
npm run build
Now you can publish the plugin from the Figma desktop app.