mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Fixed #5478 - Remove deprecated Tailwind Pass Through Object
This commit is contained in:
parent
a9165c25a4
commit
cb6c2fffef
6 changed files with 3 additions and 4278 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue