Installation
- Install the package via npm
npm i figma-plugin-ds-vue
- Include the global stylesheet in your app (either on component-level or make it globally accessible by importing it to your plugin's entry file, ex:
main.js
)
import 'figma-plugin-ds-vue/dist/figma-plugin-ds-vue.css'
- Import and register the Vue components you want to use and refer to the next chapters for detailed reference, ex:
import { Button } from 'figma-plugin-ds-vue'
export default {
components: {
Button
}
}
- Enjoy building your plugin 💻✨