mirror of
https://github.com/laosb/SwiftTailwind.git
synced 2025-11-28 22:01:38 +00:00
Improve glob handling for source paths and update docs
- Simplify glob handling in TailwindCSSBuildPlugin to support ** patterns - Update README and Tailwind.css example to clarify glob usage - Add Template.swift example using Tailwind classes - Extend tests to verify class extraction from globbed Swift files
This commit is contained in:
parent
7c848062ec
commit
e23147768d
5 changed files with 15 additions and 3 deletions
4
Sources/SwiftTailwindExample/Folder/Template.swift
Normal file
4
Sources/SwiftTailwindExample/Folder/Template.swift
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
let template =
|
||||
"""
|
||||
<div class="bg-red-100">Test</div>
|
||||
"""
|
||||
|
|
@ -5,3 +5,4 @@
|
|||
@import "tailwindcss" source(none);
|
||||
@source "./Example.swift";
|
||||
@source "./Folder";
|
||||
@source "./Folder/**/*.swift";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue