3 releases

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

#16 in #requires

Download history 1763/week @ 2024-03-26 1509/week @ 2024-04-02 834/week @ 2024-04-09 2053/week @ 2024-04-16 1834/week @ 2024-04-23 437/week @ 2024-04-30 1374/week @ 2024-05-07 1204/week @ 2024-05-14 1347/week @ 2024-05-21 1729/week @ 2024-05-28 740/week @ 2024-06-04 583/week @ 2024-06-11 1122/week @ 2024-06-18 1185/week @ 2024-06-25 418/week @ 2024-07-02 688/week @ 2024-07-09

3,469 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

~0.1–7.5MB
~44K SLoC