Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues using UseScriptInput in the globals section of nuxt.config.ts #115

Closed
benfeather opened this issue Jun 26, 2024 · 0 comments
Closed

Comments

@benfeather
Copy link

benfeather commented Jun 26, 2024

If I have my global scripts set up like so:

CleanShot 2024-06-27 at 09 45 34@2x

Then the scripts are output as expected on the frontend:

CleanShot 2024-06-27 at 09 47 52@2x

However, if I pass in a UseScriptInput object, like so:

CleanShot 2024-06-27 at 09 44 38@2x

Then the script is not output:

CleanShot 2024-06-27 at 09 44 01@2x

If I pass [UseScriptInput, NuxtUseScriptOptions], like so:

CleanShot 2024-06-27 at 09 52 42@2x

I get this error:

CleanShot 2024-06-27 at 09 53 30@2x

ENV:
bun 1.1.16
nuxt 3.12.2
@nuxt/scripts 0.5.1

Running with compatibility version 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant