Add video tutorial

pull/6367/head
Cagatay Civici 2024-09-09 21:27:03 +03:00
parent a2ecc42bba
commit acfba694f9
3 changed files with 14 additions and 11 deletions

View File

@ -0,0 +1,8 @@
<template>
<DocSectionText v-bind="$attrs">
<p>Watch the short video tutorial from Çağatay Çivici to setup PrimeVue in styled mode with <a alt="Create Vue App" href="https://github.com/vuejs/create-vue">Create-Vue</a>.</p>
</DocSectionText>
<div class="video-container">
<iframe width="560" height="315" src="https://www.youtube.com/embed/xW8EFqalm4I" frameborder="0" allowfullscreen></iframe>
</div>
</template>

View File

@ -1,11 +0,0 @@
<template>
<DocSectionText v-bind="$attrs">
<p>
<a alt="Create Vue App" href="https://github.com/vuejs/create-vue">Create-Vue</a>
is the recommended way to start a Vite-powered Vue project.
</p>
</DocSectionText>
<div class="video-container">
<iframe width="560" height="315" src="https://www.youtube.com/embed/FjYesOz95MM" frameborder="0" allowfullscreen></iframe>
</div>
</template>

View File

@ -21,6 +21,7 @@ import ExamplesDoc from '@/doc/vite/ExamplesDoc.vue';
import StyledModeDoc from '@/doc/vite/StyledModeDoc.vue'; import StyledModeDoc from '@/doc/vite/StyledModeDoc.vue';
import UnstyledModeDoc from '@/doc/vite/UnstyledModeDoc.vue'; import UnstyledModeDoc from '@/doc/vite/UnstyledModeDoc.vue';
import UsageDoc from '@/doc/vite/UsageDoc.vue'; import UsageDoc from '@/doc/vite/UsageDoc.vue';
import VideoDoc from '@/doc/vite/VideoDoc.vue';
export default { export default {
data() { data() {
@ -58,6 +59,11 @@ export default {
id: 'examples', id: 'examples',
label: 'Examples', label: 'Examples',
component: ExamplesDoc component: ExamplesDoc
},
{
id: 'video',
label: 'Video',
component: VideoDoc
} }
] ]
}; };