-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
update(doc): recommend useScript for Nuxt 3.11+ #403
Conversation
Modify notes to recommend `useScript`
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@Baroshem I'm thinking maybe I should remove all references to |
Hey @vejja . Thanks for this note! It is much cleaner now! Regardinng getting rid of useHead. Yes please do so! Lets keep one format that we want to recommend users to follow. UseScript should be recommended approach from now on :) |
@Baroshem please don't merge this yet, I'm reverting to draft |
Hi @vejja, I've sent you access to Nuxt Scripts, maybe it will help with this PR. |
Indeed, thanks ! |
Hey @vejja Should this pull request be still draft? Not sure what is the actual state of it :) Also, could you contact me in any channels like Discord, X, Linkedin? I would love to get more contact with you so that we could discuss certain things more easily :) |
Yes it is still draft, I need to update for idle status removal |
`idle` option removed in `useScript` v 1.9.4 client mode is now the default
Update for removal of `idle`option Client-side loading is the default since `useScript` v 1.9.4 Also simplifies this section by removing old sections about `useHead`
@Baroshem |
comes with useScript 1.9.4
Required to ensure test pass with Nuxt 3.11.2
@Baroshem this is good to go ! Many many thanks to @harlan-zw for ensuring
|
Awesome @vejja 💚 Thanks for this great write up! I will merge it and publish quite soon! |
Modify notes to recommend
useScript
Types of changes
Description
For Nuxt version 3.11 and above,
useScript
allows to insert any external script in a CSP-compatible way.Update documentation to recommend
useScript
.Checklist: