Merge branch 'master' of https://github.com/primefaces/primevue
commit
49d6d1d8b4
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<DocSectionText v-bind="$attrs">
|
<DocSectionText v-bind="$attrs">
|
||||||
<p>The <a href="https://www.npmjs.com/package/nuxt-primevue" target="_blank" rel="noopener noreferrer">nuxt-prime</a> package is the official module by PrimeTek.</p>
|
<p>The <a href="https://www.npmjs.com/package/nuxt-primevue" target="_blank" rel="noopener noreferrer">nuxt-primevue</a> package is the official module by PrimeTek.</p>
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
<DocSectionCode :code="code" hideToggleCode hideCodeSandbox hideStackBlitz />
|
<DocSectionCode :code="code" hideToggleCode hideCodeSandbox hideStackBlitz />
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<DocSectionText v-bind="$attrs">
|
<DocSectionText v-bind="$attrs">
|
||||||
<p>
|
<p>
|
||||||
A sample <a href="https://github.com/primefaces/primevue-examples/tree/main/nuxt-quickstart" rel="noopener noreferrer">starter example</a>
|
A sample <a href="https://github.com/primefaces/primevue-examples/tree/main/nuxt-quickstart" rel="noopener noreferrer">starter example</a> is available at PrimeVue examples repository. In addition an
|
||||||
is available at PrimeVue examples repository. In addition an <a href="https://stackblitz.com/edit/nuxt-starter-5nuyko">online playground</a> sample can be accessed at StackBlitz.
|
<a href="https://stackblitz.com/edit/nuxt-starter-5nuyko">online playground</a> sample can be accessed at StackBlitz.
|
||||||
</p>
|
</p>
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -42,7 +42,7 @@ primevue: {
|
||||||
primevue: {
|
primevue: {
|
||||||
components: {
|
components: {
|
||||||
prefix: 'Prime'
|
prefix: 'Prime'
|
||||||
include: ['Button', 'DataTable'] /* Used as <PrimeButton /> and <DataTable /> */
|
include: ['Button', 'DataTable'] /* Used as <PrimeButton /> and <PrimeDataTable /> */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
@ -51,7 +51,7 @@ primevue: {
|
||||||
basic: `
|
basic: `
|
||||||
primevue: {
|
primevue: {
|
||||||
components: {
|
components: {
|
||||||
name: ({ name: string, as: string, from: string }) => {
|
name: ({ name, as, from }) => {
|
||||||
return name === 'Button' ? \`My\${name}\` : name;
|
return name === 'Button' ? \`My\${name}\` : name;
|
||||||
}
|
}
|
||||||
include: ['Button', 'DataTable'] /* Used as <MyButton /> and <DataTable /> */
|
include: ['Button', 'DataTable'] /* Used as <MyButton /> and <DataTable /> */
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<DocSectionText v-bind="$attrs">
|
<DocSectionText v-bind="$attrs">
|
||||||
<p>The names of the directives to import and register are provided using the <i>include</i> property. When the value is ignored or set using the * alias, all of the directives are registered.</p>
|
<p>The names of the directives to import and register are provided using the <i>include</i> property. When the value is ignored or set using the <i>*</i> alias, all of the directives are registered.</p>
|
||||||
<DocSectionCode :code="code1" importCode hideToggleCode hideCodeSandbox hideStackBlitz />
|
<DocSectionCode :code="code1" importCode hideToggleCode hideCodeSandbox hideStackBlitz />
|
||||||
<p>Similar to components, certain directives can be excluded and name registration can be customized.</p>
|
<p>Similar to components, certain directives can be excluded and name registration can be customized.</p>
|
||||||
<DocSectionCode :code="code2" importCode hideToggleCode hideCodeSandbox hideStackBlitz />
|
<DocSectionCode :code="code2" importCode hideToggleCode hideCodeSandbox hideStackBlitz />
|
||||||
|
|
|
@ -89,7 +89,7 @@ export default {
|
||||||
id: 'video',
|
id: 'video',
|
||||||
label: 'Video',
|
label: 'Video',
|
||||||
component: VideoDoc
|
component: VideoDoc
|
||||||
},
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue