Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Integrate PurgeCSS directly into Tailwind
  • Loading branch information
adamwathan committed Apr 28, 2020
commit ec0b7a2be1a0ec2176a614bcec94ada6cd7aa603
15 changes: 15 additions & 0 deletions __tests__/fixtures/purge-example.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!-- 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>
Loading