Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 2.18 KB

README.md

File metadata and controls

58 lines (41 loc) · 2.18 KB

This page is for contributors. If you’re looking to use Create Figma Plugin, go to the documentation website.


The comprehensive toolkit for developing plugins and widgets for Figma and FigJam

Contributing

Pre-requisites

Building the project locally

$ git clone https://github.com/yuanqing/create-figma-plugin
$ cd create-figma-plugin
$ git checkout --track origin/next
$ npm install

Active development on the next release occurs on the next branch. Pull requests should be made into next.

Testing changes on an existing plugin/widget

First, build the entire Create Figma Plugin project:

$ npm run build

Then, create symlinks to the local copy of the project in your existing plugin/widget (eg. my-project):

$ ls -a
create-figma-plugin  my-project
$ sh create-figma-plugin/scripts/symlink.sh create-figma-plugin my-project

Finally, build your plugin/widget:

$ cd my-project
$ npm run build