2023-12-26 18:28:43 +00:00
< template >
< Head >
< Title > Install PrimeVue with Vite < / Title >
< Meta name = "description" content = "Setting up PrimeVue in a Vite project" / >
< / Head >
< div class = "doc" >
< div class = "doc-main" >
< div class = "doc-intro" >
< h1 > Install PrimeVue with Vite < / h1 >
< p > Setting up PrimeVue in a Vite project . < / p >
< / div >
< DocSections :docs ="docs" / >
< / div >
< DocSectionNav :docs ="docs" / >
< / div >
< / template >
< script >
import DownloadDoc from '@/doc/vite/DownloadDoc.vue' ;
import ExamplesDoc from '@/doc/vite/ExamplesDoc.vue' ;
2024-05-27 09:56:08 +00:00
import StyledModeDoc from '@/doc/vite/StyledModeDoc.vue' ;
import UnstyledModeDoc from '@/doc/vite/UnstyledModeDoc.vue' ;
2023-12-26 18:28:43 +00:00
import UsageDoc from '@/doc/vite/UsageDoc.vue' ;
2024-09-09 18:27:03 +00:00
import VideoDoc from '@/doc/vite/VideoDoc.vue' ;
2023-12-26 18:28:43 +00:00
export default {
data ( ) {
return {
docs : [
{
id : 'download' ,
label : 'Download' ,
component : DownloadDoc
} ,
{
id : 'plugin' ,
label : 'Plugin' ,
2024-05-27 09:56:08 +00:00
description :
'PrimeVue plugin is required to be installed as an application plugin to set up the default configuration. The plugin is lightweight, only sets up the configuration object without affecting your application. PrimeVue has two styling modes; Styled and Unstyled. If you are just getting started, begin with the styled mode.' ,
children : [
{
id : 'styled' ,
label : 'Styled Mode' ,
component : StyledModeDoc
} ,
{
id : 'unstyled' ,
label : 'Unstyled Mode' ,
component : UnstyledModeDoc
}
]
2023-12-26 18:28:43 +00:00
} ,
{
id : 'usage' ,
label : 'Usage' ,
component : UsageDoc
} ,
{
id : 'examples' ,
label : 'Examples' ,
component : ExamplesDoc
2024-09-09 18:27:03 +00:00
} ,
{
id : 'video' ,
label : 'Video' ,
component : VideoDoc
2023-12-26 18:28:43 +00:00
}
]
} ;
}
} ;
< / script >