testing-library-docs icon indicating copy to clipboard operation
testing-library-docs copied to clipboard

docs(vue-testing-library): add slot usage examples

Open time1043 opened this issue 1 week ago • 1 comments

Motivation

Add documentation for the slots option in Vue Testing Library's render function, so users know how to provide slot content when rendering components.

Changes

  • Added slots option description under render options.
  • Explained keys and values for slots, with a short example.
  • Linked to Vue Test Utils slots API for reference.

time1043 avatar Dec 11 '25 09:12 time1043

Deploy Preview for testing-library ready!

Name Link
Latest commit 9e5c6c9c844fb258e909d0d6fb4a2237285d80e8
Latest deploy log https://app.netlify.com/projects/testing-library/deploys/693b6ea3a658ed00080475e1
Deploy Preview https://deploy-preview-1516--testing-library.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 project configuration.

netlify[bot] avatar Dec 11 '25 09:12 netlify[bot]

@all-contributors please add @time1043 for docs

timdeschryver avatar Dec 12 '25 19:12 timdeschryver

@timdeschryver

I've put up a pull request to add @time1043! :tada:

allcontributors[bot] avatar Dec 12 '25 19:12 allcontributors[bot]