Removed doc
parent
441a3001be
commit
1d12718d9d
|
@ -1,48 +0,0 @@
|
|||
<template>
|
||||
<DocSectionText v-bind="$attrs">
|
||||
<p>The <i>PrimeVue</i> plugin is replaced with <i>PrimeVueStyled</i> and <i>PrimeVueUnstyled</i> plugins depending on the theming mode.</p>
|
||||
</DocSectionText>
|
||||
<DocSectionCode :code="code1" hideToggleCode importCode hideStackBlitz />
|
||||
<DocSectionCode :code="code2" hideToggleCode importCode hideStackBlitz />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
code1: {
|
||||
basic: `
|
||||
//v3 styled mode
|
||||
import PrimeVue from 'primevue/config';
|
||||
|
||||
const app = createApp(App);
|
||||
app.use(PrimeVue);
|
||||
|
||||
//v4 styled mode
|
||||
import PrimeVueStyled from 'primevue/styled';
|
||||
|
||||
const app = createApp(App);
|
||||
app.use(PrimeVueStyled);
|
||||
`
|
||||
},
|
||||
code2: {
|
||||
basic: `
|
||||
///v3 unstyled mode
|
||||
import PrimeVue from 'primevue/config';
|
||||
|
||||
const app = createApp(App);
|
||||
app.use(PrimeVue, {
|
||||
unstyled: true
|
||||
});
|
||||
|
||||
///v4 unstyled mode
|
||||
import PrimeVueUnstyled from 'primevue/styled';
|
||||
|
||||
const app = createApp(App);
|
||||
app.use(PrimeVueUnstyled);
|
||||
`
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
</script>
|
|
@ -19,7 +19,6 @@
|
|||
import NewFeaturesDoc from '@/doc/migration/v4/NewFeaturesDoc.vue';
|
||||
import OverviewDoc from '@/doc/migration/v4/OverviewDoc.vue';
|
||||
import ComponentsDoc from '@/doc/migration/v4/breakingchanges/ComponentsDoc.vue';
|
||||
import PluginDoc from '@/doc/migration/v4/breakingchanges/PluginDoc.vue';
|
||||
import StyledModeDoc from '@/doc/migration/v4/breakingchanges/StyledModeDoc.vue';
|
||||
|
||||
export default {
|
||||
|
@ -40,11 +39,6 @@ export default {
|
|||
id: 'breakingchanges',
|
||||
label: 'Breaking Changes',
|
||||
children: [
|
||||
{
|
||||
id: 'plugin',
|
||||
label: 'Plugin',
|
||||
component: PluginDoc
|
||||
},
|
||||
{
|
||||
id: 'styledmode',
|
||||
label: 'Styled Mode',
|
||||
|
|
Loading…
Reference in New Issue