tailwind-importer

Crates.iotailwind-importer
lib.rstailwind-importer
version0.1.2
sourcesrc
created_at2022-09-13 00:47:11.685279
updated_at2022-09-13 00:53:07.428347
descriptionUse tailwind across your rust project
homepage
repositoryhttps://github.com/BrettMayson/tailwind-importer
max_upload_size
id664069
size2,928
(BrettMayson)

documentation

README

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();
}
Commit count: 8

cargo fmt