Hey, I'm working with a template code that looks like this:
Here's my script code:
data () {
return {
loadPage: true
}
},
mounted () {
this.loadPage = true
},
And here is my styling code:
#app{
width: 100%;
opacity: 0;
transition: opacity 0.5s ease-in-out;
}
I'm looking to apply a class/ID styling after it has been mounted by changing their opacity to 1. Does anyone have a simple solution for this? Any examples would be greatly appreciated.