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