Setting variables in uibuilder js file when using ESM client

When using the vue template at the top of the js file is this section:

const app = new Vue ({
el:: #app,
data() { return{
var1: "abc",
var2: "def",
}},
// end of data//

where i stored my variables and my initial settings for them but when using the modern ESM client that section is not there?
is there a different method for setting these variables?
i am new to all of this but am loving the concept of web components and experimenting

hope someone can help and apologise if this is a simple thing i overlooked

Currently, the only pre-defined templates for the new clients do not use any frameworks which is why the Vue part is not there. All you need to do is to combine the ESM template with the Vue template.

Additional templates will be made available eventually.

Thanks for the reply @TotallyInformation I did think about combining them but was not sure.

thanks again

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.