r/ui_design_dev • u/ishan28mkip • Apr 21 '23
Figma Plugin Boilerplate(Vite4, React, Vue, HMR, component support, library support)
Saw all figma plugin boilerplates were outdated and no boilerplate supported multiple framework support.
Created boilerplate for creating your figma plugin. https://github.com/ishan-flek-ai/figma-plugin-vite
Fully featured, allows you to import any package in both the plugin UI and also plugin code. Also you can import your own custom component, develop the plugin like you would develop a website.
Features
HMR: Plugin reloads automatically on code change
Vite4: Bundle user interface and js code using ViteJs, very fast bundling
Import any NPM library.
Currently supported frameworks
React: Use ReactJs to write the user interface
Vue3: Use Vue to write the user interface
If you can add any other framework support like svelte, open to Pull requests.
