Merge branch 'prod'

pull/3758/head
Cagatay Civici 2023-03-16 11:12:00 +03:00
commit 2f6c9311e5
5 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1,22 @@
<template>
<DocSectionText v-bind="$attrs">
<p>PrimeVue plugin is required to be installed with the <i>use</i> function to set up the default <NuxtLink to="/theming">configuration</NuxtLink>.</p>
</DocSectionText>
<DocSectionCode :code="code" hideToggleCode importCode hideCodeSandbox hideStackBlitz />
</template>
<script>
export default {
data() {
return {
code: {
basic: `import { createApp } from 'vue';
import PrimeVue from 'primevue/config';
const app = createApp(App);
app.use(PrimeVue);`
}
};
}
};
</script>

View File

@ -2,7 +2,7 @@
<DocSectionText v-bind="$attrs"> <DocSectionText v-bind="$attrs">
<p class="line-height-3 bg-indigo-600 text-white p-3 text-lg" style="border-radius: 10px"> <p class="line-height-3 bg-indigo-600 text-white p-3 text-lg" style="border-radius: 10px">
<strong>Note</strong>: In upcoming versions, theming architecture will be redesigned to utilize CSS variables instead of SCSS variables in a backward compatible way for a dynamic approach. In addition, a new <strong>Unstyled</strong> mode <strong>Note</strong>: In upcoming versions, theming architecture will be redesigned to utilize CSS variables instead of SCSS variables in a backward compatible way for a dynamic approach. In addition, a new <strong>Unstyled</strong> mode
will be provided as an optional approach to replace default styling so that CSS libraries like Tailwind or Bootstrap can be used to style the components. This work is planned to be completed by the end of Q2 2023. will be provided as an alternative to the default styling so that CSS libraries like Tailwind or Bootstrap can be used to style the components. This work is planned to be completed by the end of Q2 2023.
</p> </p>
<p> <p>
PrimeVue is a design agnostic library so unlike other UI libraries it does not enforce a certain styling such as material or bootstrap. In order to achieve this, styling has been separated into two parts, core and theme. The core resides PrimeVue is a design agnostic library so unlike other UI libraries it does not enforce a certain styling such as material or bootstrap. In order to achieve this, styling has been separated into two parts, core and theme. The core resides

View File

@ -0,0 +1,5 @@
<template>
<DocSectionText v-bind="$attrs">
<p>Each PrimeVue theme exports numerous CSS variables, refer to <NuxtLink to="/colors">Colors</NuxtLink> page for more details.</p>
</DocSectionText>
</template>

View File

@ -19,6 +19,7 @@
import DownloadDoc from '@/doc/installation/DownloadDoc'; import DownloadDoc from '@/doc/installation/DownloadDoc';
import ExamplesDoc from '@/doc/installation/ExamplesDoc'; import ExamplesDoc from '@/doc/installation/ExamplesDoc';
import NuxtIntegrationDoc from '@/doc/installation/NuxtIntegrationDoc'; import NuxtIntegrationDoc from '@/doc/installation/NuxtIntegrationDoc';
import PluginDoc from '@/doc/installation/PluginDoc';
import PropCasesDoc from '@/doc/installation/PropCasesDoc'; import PropCasesDoc from '@/doc/installation/PropCasesDoc';
import StylesDoc from '@/doc/installation/StylesDoc'; import StylesDoc from '@/doc/installation/StylesDoc';
import UsageDoc from '@/doc/installation/UsageDoc'; import UsageDoc from '@/doc/installation/UsageDoc';
@ -34,6 +35,11 @@ export default {
label: 'Download', label: 'Download',
component: DownloadDoc component: DownloadDoc
}, },
{
id: 'plugin',
label: 'Plugin',
component: PluginDoc
},
{ {
id: 'styles', id: 'styles',
label: 'Styles', label: 'Styles',

View File

@ -27,6 +27,7 @@ import PrimeFlexDoc from '@/doc/theming/PrimeFlexDoc';
import ScaleDoc from '@/doc/theming/ScaleDoc'; import ScaleDoc from '@/doc/theming/ScaleDoc';
import ScopedCSSDoc from '@/doc/theming/ScopedCSSDoc'; import ScopedCSSDoc from '@/doc/theming/ScopedCSSDoc';
import UtilsDoc from '@/doc/theming/UtilsDoc'; import UtilsDoc from '@/doc/theming/UtilsDoc';
import CSSVariablesDoc from '../../doc/theming/CSSVariablesDoc';
import SwitchThemesDoc from '../../doc/theming/SwitchThemesDoc'; import SwitchThemesDoc from '../../doc/theming/SwitchThemesDoc';
export default { export default {
@ -77,6 +78,11 @@ export default {
id: 'utils', id: 'utils',
label: 'Utils', label: 'Utils',
component: UtilsDoc component: UtilsDoc
},
{
id: 'cssvariables',
label: 'CSS Variables',
component: CSSVariablesDoc
} }
] ]
}; };