Update nuxt docs
parent
3098b2d67d
commit
438bc8a45e
|
@ -15,16 +15,16 @@ export default {
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
# Using npm
|
# Using npm
|
||||||
npm install primevue
|
npm install primevue@4.0.0-rc.1
|
||||||
npm install --save-dev nuxt-primevue
|
npm install --save-dev nuxt-primevue@4.0.0-rc.1
|
||||||
|
|
||||||
# Using yarn
|
# Using yarn
|
||||||
yarn add primevue
|
yarn add primevue@4.0.0-rc.1
|
||||||
yarn add --dev nuxt-primevue
|
yarn add --dev nuxt-primevue@4.0.0-rc.1
|
||||||
|
|
||||||
# Using pnpm
|
# Using pnpm
|
||||||
pnpm add primevue
|
pnpm add primevue@4.0.0-rc.1
|
||||||
pnpm add -D nuxt-primevue
|
pnpm add -D nuxt-primevue@4.0.0-rc.1
|
||||||
`
|
`
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<DocSectionText v-bind="$attrs">
|
<DocSectionText v-bind="$attrs">
|
||||||
<p>Defines the CSS layer order setting for compatibility with libraries like Tailwind and Bootstrap in styled mode. Visit the <NuxtLink to="/theming/styled/#options">CSS Layer</NuxtLink> guide for detailed information.</p>
|
<p>
|
||||||
|
When the layer is enabled at the theme configuration, defines the CSS layer order setting for compatibility with libraries like Tailwind and Bootstrap in styled mode. Visit the
|
||||||
|
<NuxtLink to="/theming/styled/#csslayer">CSS Layer</NuxtLink> guide for detailed information.
|
||||||
|
</p>
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
<DocSectionCode :code="code1" importCode hideToggleCode hideStackBlitz />
|
<DocSectionCode :code="code1" importCode hideToggleCode hideStackBlitz />
|
||||||
<DocSectionCode :code="code2" importCode hideToggleCode hideStackBlitz />
|
<DocSectionCode :code="code2" importCode hideToggleCode hideStackBlitz />
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<DocSectionText v-bind="$attrs">
|
<DocSectionText v-bind="$attrs">
|
||||||
<p>Main configuration settings of PrimeVue, refer to the <PrimeVueNuxtLink to="/configuration">configuration</PrimeVueNuxtLink> documentation for details. Defaults to an empty object.</p>
|
<p>Main configuration settings of PrimeVue, refer to the <PrimeVueNuxtLink to="/configuration">configuration</PrimeVueNuxtLink> documentation for details.</p>
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
<DocSectionCode :code="code" importCode hideToggleCode hideStackBlitz />
|
<DocSectionCode :code="code" importCode hideToggleCode hideStackBlitz />
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
<script>
|
<script>
|
||||||
import DownloadDoc from '@/doc/nuxt/DownloadDoc.vue';
|
import DownloadDoc from '@/doc/nuxt/DownloadDoc.vue';
|
||||||
import ExamplesDoc from '@/doc/nuxt/ExamplesDoc.vue';
|
import ExamplesDoc from '@/doc/nuxt/ExamplesDoc.vue';
|
||||||
import ModuleSetupDoc from '@/doc/nuxt/ModuleSetupDoc.vue';
|
import SetupDoc from '@/doc/nuxt/SetupDoc.vue';
|
||||||
import UsageDoc from '@/doc/nuxt/UsageDoc.vue';
|
import UsageDoc from '@/doc/nuxt/UsageDoc.vue';
|
||||||
import CSSLayerOrderDoc from '@/doc/nuxt/configuration/CSSLayerOrderDoc.vue';
|
import CSSLayerOrderDoc from '@/doc/nuxt/configuration/CSSLayerOrderDoc.vue';
|
||||||
import ComponentsDoc from '@/doc/nuxt/configuration/ComponentsDoc.vue';
|
import ComponentsDoc from '@/doc/nuxt/configuration/ComponentsDoc.vue';
|
||||||
|
@ -41,9 +41,9 @@ export default {
|
||||||
component: DownloadDoc
|
component: DownloadDoc
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'module-setup',
|
id: 'setup',
|
||||||
label: 'Module Setup',
|
label: 'Setup',
|
||||||
component: ModuleSetupDoc
|
component: SetupDoc
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'usage',
|
id: 'usage',
|
||||||
|
@ -52,7 +52,7 @@ export default {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'configuration',
|
id: 'configuration',
|
||||||
label: 'Module Configuration',
|
label: 'Configuration',
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
id: 'useprimevue',
|
id: 'useprimevue',
|
||||||
|
|
Loading…
Reference in New Issue