react boilerplate for react plugin
- Create a project based on this boilerplate.
$ npx degit https://github.com/hseoy/figma-plugin-react-boilerplate <project name>
- Install the dependencies.
$ yarn install
- To rebuild it when the files are changed, run
yarn watch
$ yarn watch
- The plugin is ready to be added to Figma for development.
-
Open Figma desktop application.
-
Click on your profile icon dropdown in the top right and select
Plugins
from the list -
Scroll down to the
In development
section and click the plus(+) icon -
Choose
Import from manifest
-
Locate the manifest.json in your newly created project and then select Open
-
Now you will be able to use this plugin.