Skip to content

corsfix/corsfix-figma-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Corsfix Figma Plugin Integration

Corsfix integration with Figma Plugin allows you to make API requests from your Figma plugin without running into CORS errors.

Starting local server

  1. Install the Visual Studio Code extension "Live Server" if you haven't already.
  2. Right-click on the index.html file in the plugin directory, and select "Open with Live Server" from the context menu.
  3. This will start a local server and open the index.html file in your default web browser, with the url http://localhost:5500/index.html.

Developing the plugin

Install the dependencies using npm:

npm install

Then, start the plugin build watch using the following command:

npm run watch

Importing the plugin

  1. Open Figma and go to the Actions tab.
  2. Click on the "Plugins & widgets" section.
  3. Click on "Import Plugin from Manifest".
  4. Select the manifest.json file from the plugin directory.
  5. The plugin should now be available in the Plugins tab.
  6. Click on the plugin to run it.

Releases

No releases published

Packages

No packages published