30
Views
2
Comments
[VueJS] How to convert VueJS Forge to Reactive type?
vuejs
Web icon
Forge asset by Pedro Coelho
Application Type
Traditional Web

I want to make Reactive type version of this Forge(VueJS).

I'm trying to integrate Vue.js but I wonder if it is possible.....

Does anyone know how to do it?


Regards,





2024-09-17 18-14-33
Miguel Defavari da Silva

Hello!

I took a look at the component module and it is basically a block with JavaScript added to it.

With that said, you can create a block in a reactive application and just copy and paste the JavaScript code into that block.

Let me know if this works :)

UserImage.jpg
Tsubasa Yoshikawa

Hi Miguel Defavari da Silva ,

Thank you.

As you said, I created a block (VueBlock) in my reactive app and just copied and pasted the JavaScript code (VueScript) into that block. But I'm having trouble making Reactive version of VueJS Forge component.



Then I created the below code in Javascript of OnReady action.

var demo = new Vue({ 

 //el: '#demo',  

el: $parameters.GetElementId, 

 data: {    

treeData: data 

 }

})


I just published however, it doesn't work.

I'm attaching my oml I created like above.

If you don't mind,  it'd be nice if you could tell me where I'm missing.

Do you have any ideas some tips to make Reactive type of VueJS Demo?


 

By the way,  if I make this happen, I'd like to try Vuetify.  As a result, what I want is actually to use Vueutify with VueJS in Reactive app.

Firstly, I hope I can make "Hello World" sample of Vueutify .



Regards,

MyVueJSApp.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.