Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.54 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.54 KB

bridged-figma-plugin (flutter code builder from figma design)

a figma to flutter code exporter

Development guide

Pre-requisites

Building the plugin

First:

$ yarn install

# building for production - this will load production web hosted version in your plugin host
$ yarn run build

# building for development - this will load localhost:3303/init-figma page in to your plugin host
$ yarn run build:dev
$ yarn run watch # same as `build:dev`, but in watch mode. (if you are not interacting with figma-core, you don't have to run this command.)

Installing the plugin

In the Figma desktop app:

  • Open a Figma document.
  • Go to PluginsDevelopmentNew Plugin….
  • Click the Click to choose a manifest.json file box, and select the manifest.json file that was generated.

Debugging

Use console.log statements to inspect values in your code.

To open the developer console in the Figma desktop app, go to PluginsDevelopmentOpen Console.

Docs