| Crates.io | tailwind-importer |
| lib.rs | tailwind-importer |
| version | 0.1.2 |
| created_at | 2022-09-13 00:47:11.685279+00 |
| updated_at | 2022-09-13 00:53:07.428347+00 |
| description | Use tailwind across your rust project |
| homepage | |
| repository | https://github.com/BrettMayson/tailwind-importer |
| max_upload_size | |
| id | 664069 |
| size | 2,928 |
[build-dependencies]
tailwind-importer = "0.1.2"
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();
}
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();
}