Update nuxt docs
parent
3098b2d67d
commit
438bc8a45e
|
@ -15,16 +15,16 @@ export default {
|
|||
code: {
|
||||
basic: `
|
||||
# Using npm
|
||||
npm install primevue
|
||||
npm install --save-dev nuxt-primevue
|
||||
npm install primevue@4.0.0-rc.1
|
||||
npm install --save-dev nuxt-primevue@4.0.0-rc.1
|
||||
|
||||
# Using yarn
|
||||
yarn add primevue
|
||||
yarn add --dev nuxt-primevue
|
||||
yarn add primevue@4.0.0-rc.1
|
||||
yarn add --dev nuxt-primevue@4.0.0-rc.1
|
||||
|
||||
# Using pnpm
|
||||
pnpm add primevue
|
||||
pnpm add -D nuxt-primevue
|
||||
pnpm add primevue@4.0.0-rc.1
|
||||
pnpm add -D nuxt-primevue@4.0.0-rc.1
|
||||
`
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<template>
|
||||
<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>
|
||||
<DocSectionCode :code="code1" importCode hideToggleCode hideStackBlitz />
|
||||
<DocSectionCode :code="code2" importCode hideToggleCode hideStackBlitz />
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<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>
|
||||
<DocSectionCode :code="code" importCode hideToggleCode hideStackBlitz />
|
||||
</template>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<script>
|
||||
import DownloadDoc from '@/doc/nuxt/DownloadDoc.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 CSSLayerOrderDoc from '@/doc/nuxt/configuration/CSSLayerOrderDoc.vue';
|
||||
import ComponentsDoc from '@/doc/nuxt/configuration/ComponentsDoc.vue';
|
||||
|
@ -41,9 +41,9 @@ export default {
|
|||
component: DownloadDoc
|
||||
},
|
||||
{
|
||||
id: 'module-setup',
|
||||
label: 'Module Setup',
|
||||
component: ModuleSetupDoc
|
||||
id: 'setup',
|
||||
label: 'Setup',
|
||||
component: SetupDoc
|
||||
},
|
||||
{
|
||||
id: 'usage',
|
||||
|
@ -52,7 +52,7 @@ export default {
|
|||
},
|
||||
{
|
||||
id: 'configuration',
|
||||
label: 'Module Configuration',
|
||||
label: 'Configuration',
|
||||
children: [
|
||||
{
|
||||
id: 'useprimevue',
|
||||
|
|
Loading…
Reference in New Issue