A comprehensive toolkit for developing Figma plugins
$ git clone https://github.com/yuanqing/create-figma-plugin
$ cd create-figma-plugin
$ git checkout --track origin/next
$ yarn install
Active development on the next release occurs on the next
branch. Pull requests should be made into next
.
First, build the entire Create Figma Plugin project:
$ yarn run build
Then, create symlinks to the local copy of the project in your existing Figma plugin (eg. my-plugin
):
$ ls -a
create-figma-plugin my-plugin
$ sh create-figma-plugin/scripts/symlink.sh create-figma-plugin my-plugin
Finally, build your plugin:
$ cd my-plugin
$ yarn run build