Skip to content

Commit 4fae0d0

Browse files
add vue school links to supplement component documentation with video… (#1119)
* add vue school links to supplement component documentation with video courses * link sfc doc to sfc intro lesson instead of course since only first lesson is free
1 parent 0097065 commit 4fae0d0

5 files changed

+10
-0
lines changed

src/guide/component-basics.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Components Basics
22

3+
<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>
4+
35
## Base Example
46

57
Here's an example of a Vue component:

src/guide/component-props.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
> This page assumes you've already read the [Components Basics](component-basics.md). Read that first if you are new to components.
44
5+
<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>
6+
57
## Prop Types
68

79
So far, we've only seen props listed as an array of strings:

src/guide/component-registration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Component Registration
22

3+
<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>
4+
35
> This page assumes you've already read the [Components Basics](component-basics.md). Read that first if you are new to components.
46
57
## Component Names

src/guide/component-slots.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
> This page assumes you've already read the [Components Basics](component-basics.md). Read that first if you are new to components.
44
5+
<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>
6+
57
## Slot Content
68

79
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.

src/guide/single-file-component.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Single File Components
22

3+
<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>
4+
35
## Introduction
46

57
Vue Single File Components (aka `*.vue` files, abbreviated as **SFC**) is a special file format that allows us to encapsulate the template, logic, **and** styling of a Vue component in a single file. Here's an example SFC:

0 commit comments

Comments
 (0)