- Add better Pug support - Add "modes", with "all" and "conservative" by default - Allow passing options through to PurgeCSS - Rename `paths` to `content` to match PurgeCSS
22 lines
No EOL
536 B
HTML
22 lines
No EOL
536 B
HTML
<!-- Basic HTML -->
|
|
<div class="bg-red-500 md:bg-blue-300 w-1/2"></div>
|
|
|
|
<!-- Vue dynamic classes -->
|
|
<span :class="{ block: enabled, 'md:flow-root': !enabled }"></span>
|
|
|
|
<!-- JSX with template strings -->
|
|
<script>
|
|
function Component() {
|
|
return <div class={`h-screen`}></div>
|
|
}
|
|
</script>
|
|
|
|
<!-- Custom classes with really weird characters -->
|
|
<div class="min-h-(screen-4) bg-black! font-%#$@ w-(1/2+8)"></div>
|
|
|
|
<!-- Pug -->
|
|
span.inline-grid.grid-cols-3(class="px-1.5")
|
|
.col-span-2
|
|
Hello
|
|
.col-span-1.text-center
|
|
World! |