Fixed #5478 - Remove deprecated Tailwind Pass Through Object

This commit is contained in:
Cagatay Civici 2024-03-26 17:12:37 +03:00
parent a9165c25a4
commit cb6c2fffef
6 changed files with 3 additions and 4278 deletions

View file

@ -1,11 +1,8 @@
<template>
<DocSectionText v-bind="$attrs">
<p>Configures the global pass through import path.</p>
<DocSectionCode :code="code1" importCode hideToggleCode hideStackBlitz />
<p>The path may also be a location within your application.</p>
<DocSectionCode :code="code2" importCode hideToggleCode hideStackBlitz />
<DocSectionCode :code="code3" importCode hideToggleCode hideStackBlitz />
</DocSectionText>
</template>
@ -16,19 +13,12 @@ export default {
code1: {
basic: `
primevue: {
importPT: { as: 'Tailwind', from: 'primevue/passthrough/tailwind' },
importPT: { as: 'MyCustomPreset', from: path.resolve(__dirname, './presets/mypreset.js')}
}
`
},
code2: {
basic: `
primevue: {
importPT: { as: 'MyCustomPreset', from: path.resolve(__dirname, './assets/presets/mypreset.js')}
}
`
},
code3: {
basic: `
const MyPreset = {
...
button: {