Skip to content

add vue school links to supplement component documentation with video… #1119

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 2 commits into from
Nov 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/guide/component-basics.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Components Basics

<VideoLesson href="https://vueschool.io/courses/vue-js-3-components-fundamentals?friend=vuejs" title="Free Vue.js Components Fundamentals Course">Learn component basics with a free video course on Vue School</VideoLesson>

## Base Example

Here's an example of a Vue component:
Expand Down
2 changes: 2 additions & 0 deletions src/guide/component-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

> This page assumes you've already read the [Components Basics](component-basics.md). Read that first if you are new to components.

<VideoLesson href="https://vueschool.io/lessons/vue-3-reusable-components-with-props?friend=vuejs" title="Free Vue.js Component Props Lesson">Learn how component props work with a free lesson on Vue School</VideoLesson>

## Prop Types

So far, we've only seen props listed as an array of strings:
Expand Down
2 changes: 2 additions & 0 deletions src/guide/component-registration.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Component Registration

<VideoLesson href="https://vueschool.io/lessons/vue-3-global-vs-local-vue-components?friend=vuejs" title="Free Vue.js Component Registration lesson">Learn how component registration works with a free lesson on Vue School</VideoLesson>

> This page assumes you've already read the [Components Basics](component-basics.md). Read that first if you are new to components.

## Component Names
Expand Down
2 changes: 2 additions & 0 deletions src/guide/component-slots.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

> This page assumes you've already read the [Components Basics](component-basics.md). Read that first if you are new to components.

<VideoLesson href="https://vueschool.io/lessons/vue-3-component-slots?friend=vuejs" title="Free Vue.js Slots lesson">Learn slot basics with a free lesson on Vue School</VideoLesson>
Copy link
Contributor

Choose a reason for hiding this comment

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

@bencodezen FYI, this video is a new addition.


## Slot Content

Vue implements a content distribution API inspired by the [Web Components spec draft](https://github.com/w3c/webcomponents/blob/gh-pages/proposals/Slots-Proposal.md), using the `<slot>` element to serve as distribution outlets for content.
Expand Down
2 changes: 2 additions & 0 deletions src/guide/single-file-component.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Single File Components

<VideoLesson href="https://vueschool.io/lessons/vue-3-introduction-to-single-file-components?friend=vuejs" title="Free Vue.js Single File Components Lesson">Learn about single file components with a free video lesson on Vue School</VideoLesson>

## Introduction

In many Vue projects, global components will be defined using `app.component()`, followed by `app.mount('#app')` to target a container element in the body of every page.
Expand Down