3 releases
0.1.2 | Sep 13, 2022 |
---|---|
0.1.1 | Sep 13, 2022 |
0.1.0 | Sep 13, 2022 |
#34 in #tailwind
2,855 downloads per month
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
~38K SLoC