Thanks, I am not sure what I am doing wrong ..
There error it is showing me is:
--- CONSOLE --
[Vue warn]: Error in mounted hook: "Cannot tween a null target." found in ---> <SHeader> at src/components/sHeader.vue <VContent> <VApp> <App> at src/App.vue <Root> vue.runtime.esm.js:619
Cannot tween a null target.
--
I have imported all from gsap in the main.js file.
<script>
export default {
mounted() {
const { lawn2019 } = this.$refs
// // eslint-disable-next-line
const tl = new TweenLite()
tl.to(lawn2019, 3, {scrambleText:"THIS IS NEW TEXT"});
}
}
</script>