3 releases

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

#20 in #requires

Download history 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 424/week @ 2024-07-02 725/week @ 2024-07-09 890/week @ 2024-07-16 1382/week @ 2024-07-23 1204/week @ 2024-07-30 630/week @ 2024-08-06 231/week @ 2024-08-13 1103/week @ 2024-08-20 1173/week @ 2024-08-27 1582/week @ 2024-09-03

4,407 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–7MB
~37K SLoC