3 releases

0.1.2 Sep 13, 2022
0.1.1 Sep 13, 2022
0.1.0 Sep 13, 2022

#19 in #requires

Download history 343/week @ 2024-01-22 515/week @ 2024-01-29 794/week @ 2024-02-05 269/week @ 2024-02-12 1068/week @ 2024-02-19 703/week @ 2024-02-26 1678/week @ 2024-03-04 780/week @ 2024-03-11 1302/week @ 2024-03-18 1676/week @ 2024-03-25 1732/week @ 2024-04-01

5,493 downloads per month

MIT license

3KB

Yew Tailwind

[build-dependencies]
tailwind-importer = "0.1.2"

For Applications

Create a tailwind.css for your application, including all compatible crates.

Requires tailwindcss to be in the path, recommended to use npm i -g tailwindcss.

build.rs

fn main() {
    tailwind_importer::build_frontend();
}

For Libraries

This will create a copy of the source code in the target out directory so it can be read by the tailwind command.

build.rs

fn main() {
    tailwind_importer::build_library();
}

Dependencies

~105–295KB