2023-12-26 08:13:55 +00:00
|
|
|
<template>
|
|
|
|
<DocSectionText v-bind="$attrs">
|
|
|
|
<p>
|
|
|
|
Tailwind CSS includes a reset utility in base called <a href="https://tailwindcss.com/docs/preflight" target="_blank" rel="noopener noreferrer">preflight</a>. If you are using this feature, wrap the base and utilities in separate layers
|
|
|
|
and make sure primevue layer comes after the base.
|
|
|
|
</p>
|
2024-01-30 08:16:35 +00:00
|
|
|
<DocSectionCode :code="code" hideToggleCode hideStackBlitz />
|
2023-12-26 08:13:55 +00:00
|
|
|
</DocSectionText>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
checked: false,
|
|
|
|
code: {
|
|
|
|
basic: `
|
|
|
|
@layer tailwind-base, primevue, tailwind-utilities;
|
|
|
|
|
|
|
|
@layer tailwind-base {
|
2023-12-26 09:00:08 +00:00
|
|
|
@tailwind base;
|
2023-12-26 08:13:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@layer tailwind-utilities {
|
2023-12-26 09:00:08 +00:00
|
|
|
@tailwind components;
|
|
|
|
@tailwind utilities;
|
2023-12-26 08:13:55 +00:00
|
|
|
}
|
|
|
|
`
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|