LEARNING BY VUEING

Grep test
15 / 17

How does purgeCSS work? It simply checks for a predefined regex and compares it with Tailwind's classes.

For correct purging avoid dynamically computing class names like 'rounded-' + (this.lg ? 'lg' : 'sm').

Instead properly type out each class: this.lg ? 'rounded-lg' : 'rounded-sm'.

Note: This will also help you find code easily. It's always a good idea to make your code pass the so called "grep test".

Try fixing the issue by properly writing out both class names.