Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
/frameworkPublic archive

refactor(nuxt): deprecate <Script> component tag in template - #8197

Merged
pi0 merged 2 commits into
mainfrom
fix/deprecate-script
Oct 15, 2022
Merged

refactor(nuxt): deprecate <Script> component tag in template#8197
pi0 merged 2 commits into
mainfrom
fix/deprecate-script

Conversation

@danielroe

Copy link
Copy Markdown
Member

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Including <Script> in template may possibly open the door to unexpected behaviour. We expect to release nuxt/scripts to significantly improve experience for users and module authors, and in preparation, we want to deprecate <Script> in favour of directly using useHead.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@danielroedanielroe added enhancement New feature or request 🍰 p2-nice-to-have Priority 2: nothing is broken but it's worth addressing labels Oct 14, 2022
@danielroe
danielroe requested a review from pi0October 14, 2022 14:57
@danielroedanielroe self-assigned this Oct 14, 2022
@codesandbox

Copy link
Copy Markdown

CodeSandbox logoCodeSandbox logo Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@netlify

netlifyBot commented Oct 14, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt3-docs canceled.

NameLink
🔨 Latest commit2c98e35
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt3-docs/deploys/634979609effc70009c2139d

pi0
pi0 approved these changes Oct 15, 2022
@pi0pi0 changed the title fix(nuxt): deprecate <Script> tag in templatefix(nuxt): deprecate <Script> component tag in templateOct 15, 2022
@pi0pi0 changed the title fix(nuxt): deprecate <Script> component tag in templaterefactor(nuxt): deprecate <Script> component tag in templateOct 15, 2022
@pi0
pi0 merged commit 5e7dfc2 into mainOct 15, 2022
@pi0
pi0 deleted the fix/deprecate-script branch October 15, 2022 11:20
@pi0pi0 mentioned this pull request Oct 18, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

3.xenhancementNew feature or request🍰 p2-nice-to-havePriority 2: nothing is broken but it's worth addressing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@danielroe@pi0