Yizack Rangel

Results 14 comments of Yizack Rangel

Is there any workaround for this yet?

Hi, sometimes while using defu I wish it could be able to not skip null values ​​as well, hope this is reconsidered 😊

> I'd prefer something like `if (!document.getElementsByTagName('head')[0]) return`. What do you think? I'd agree but seems like it doesn't do it, very strange... maybe it's related to a problem with...

This way works, what do you think? ```js const headElement = document.getElementsByTagName('head')[0] if (!headElement) return; headElement.appendChild(script) ```

@dargmuesli Yes! The issue happens only in projects depending on this module, not the module itself 😂 > Wow, why does it 😂 Do brackets help by any chance? Like...

> Just wondering, do you still see this issue occur in v8.4.4 released yesterday? Yes! I still do after v8.4.4, updated the reproduction

Potentially related issue: - https://github.com/vuejs/language-tools/issues/4577

> We could change this indeed but only if it's done in every component for consistency. Hello! I thought of doing that too, if you want I can work on...

Hello, to use it in development, you should add just `localhost` without the `3000` port and it will work. Make sure to wait a bit for it to detect the...

It works for me 🤔 ```js import { NuxtTurnstile } from "#components"; const turnstile = ref(null); ``` ![image](https://github.com/user-attachments/assets/44ce3964-5705-44ca-be60-ee460bededb9) ![image](https://github.com/user-attachments/assets/fdceebf4-24bb-4a3d-8533-7e5d08ab4a14)