Gecco
Explore posts from serversIs there a way to get an element from the dom as writable with typescript support
I want to retrieve a DOM element in Nuxt but the only way I've found online is using
ref(null)
which does not work TypeScript. Any advice as to how I can retrieve an element like such in Nuxt?4 replies