Basic stuff?


#1

Will the basic stuff from Vuejs - Introduction work “out of the box”?


#2

Yes, you can use VueJS to create interfaces for plugins. The setup is a bit special, and I recommend that you use the starter-template for Adobe XD Plugins that you can find on Github: https://github.com/AdobeXD/plugin-samples/tree/master/ui-hello-vue

This takes care of the build process and you can pretty much develop regular Vue components.


#3

Thanks! Is it only components, or can you use it in a more basic manner too?


#4

Acually, I can learn how to work with components, no stress =)


#5

Of course you can skip components and simply use Vue for data bindings and event handling. With the setup provided in the repository you can then also import the XD APIs into your main component and mess around with XD from there. If you’ve never worked with a Vue CLI (Webpack etc.) setup, it might not be super easy to understand how things work together. Might need a short tutorial :wink: