Skip to content

docs: update Essentials section to setup (composition api) - #2647

Merged
cexbrayat merged 23 commits into
vuejs:mainfrom
sofuxro:patch-1
Apr 1, 2025
Merged

docs: update Essentials section to setup (composition api)#2647
cexbrayat merged 23 commits into
vuejs:mainfrom
sofuxro:patch-1

Conversation

@sofuxro

@sofuxro sofuxro commented Apr 1, 2025

Copy link
Copy Markdown
Contributor

Related to #2642

@netlify

netlify Bot commented Apr 1, 2025

Copy link
Copy Markdown

Deploy Preview for vue-test-utils-docs ready!

Name Link
🔨 Latest commit 298e6ea
🔍 Latest deploy log https://app.netlify.com/sites/vue-test-utils-docs/deploys/67ec1a8023dcf30008ffa229
😎 Deploy Preview https://deploy-preview-2647--vue-test-utils-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@cexbrayat cexbrayat left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@cexbrayat
cexbrayat merged commit 003a548 into vuejs:main Apr 1, 2025
mvanhorn pushed a commit to mvanhorn/test-utils that referenced this pull request Mar 31, 2026
PR vuejs#2647 converted the Password component to Composition API (script
setup), but the data() mounting option only works with Options API.
This restores the Options API version for the data() sections and adds
a note about the limitation.

The setProps section is unchanged since it correctly uses Composition API.

Fixes vuejs#2733
mvanhorn added a commit to mvanhorn/test-utils that referenced this pull request Mar 31, 2026
PR vuejs#2647 converted the Password component to Composition API (script
setup), but the data() mounting option only works with Options API.
This restores the Options API version for the data() sections and adds
a note about the limitation.

The setProps section is unchanged since it correctly uses Composition API.

Fixes vuejs#2733
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

Successfully merging this pull request may close these issues.

2 participants