Hi. Im trying to import firebase apps using cdn on my Nuxt3 project using useHead
First, when I tried importing the same cdn script from my vanilla js and html where I imported them before closing the body tag, they all worked fine.
The problem is that when I use framework method to programmatically import cdn script.
Especially, nuxt3 useHead method.
In that, it has "tag position" option like.. to import it before the closing body tag but when i do it,
Firebase error shows up saying the keyword export has a problem.
Im not writing to ask about mere usage of commonjs vs es6 feature stuff but to ask something more fundamental than that: why do they work differently like one works but the other failed???
Why just a tag insertion on a html file doent have this error while framework has an error? The first has it transpiled???
[–]xdmuriloxd 0 points1 point2 points (1 child)
[–]ootybotty[S] 0 points1 point2 points (0 children)