I have an older project i want to showcase. It uses vanilla javascript, listening to events and updating the dom etc.. It makes no sense to spend days rewriting it, so I just want to copy paste it. But nuxt is throwing errors when i paste the script tag, and if i paste the script outside the functions are not available for the elements in the dom..
(nuxt3)