There are a few ways you can use this template.
The simplest way is to hit 'use this template'
Or download the .zip of the repo.
Alternatively you can use this template as a template for your own github repo through the github cli
gh repo create "<YOUR REPO NAME>" -p "https://github.com/LukeFinch/Figma-Vue3-Template"
- Install dependencies with
npm i
. - Run
npm run dev
and a folder nameddist
will be created. - In the Figma desktop app, click on Create new plugin / Link existing plugin and point it to the
manifest.json
in this project. - Now you can edit the main Figma code from
src/code.ts
and the UI code fromsrc/ui.vue
. Hitting save will auto-reload the build so you can see your changes right away. - When you're ready to publish the plugin, run
npm run build
to create a production build.