Skip to content

Add Scrimba links and refactor VueSchoolLink to a more reusable component #3240

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

Merged
merged 1 commit into from
May 28, 2025

Conversation

perborgen
Copy link
Contributor

@perborgen perborgen commented May 28, 2025

Description of Problem

Scrimba is a Vue sponsor, so we have recorded a few Scrimba screencasts to give people reading the docs an alternative interactive walkthrough of various articles. These have been reviewed and approved by Evan You.

When added these, there was an issue with the VueSchoolLink component not being reusable.

Proposed Solution

I refactored the VueSchoolLink into a general PromoLink so that the component is more reusable. Have updated all Vue School and Scrimba links to use this new component.

I have not deleted the VueSchoolLink from the .vitepress directory. Let me know if you want me to do this as well.

Copy link

netlify bot commented May 28, 2025

Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit a859ba1
🔍 Latest deploy log https://app.netlify.com/projects/vuejs/deploys/6836ec3fe4ab160008324582
😎 Deploy Preview https://deploy-preview-3240--vuejs.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.

@yyx990803
Copy link
Member

Looking at the changes, perhaps it's better to simply duplicate a <ScrimbaLink> component so that this PR can be pure additions with fewer touched files.

@perborgen
Copy link
Contributor Author

Got it. I've updated the PR to use a newly created ScrimbaLink component instead of the refactor.

@yyx990803 yyx990803 merged commit 0b63564 into vuejs:main May 28, 2025
4 checks passed
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