Tailwind Yew Builder screenshot

Tailwind Yew Builder

Author Avatar Theme by Matiu2
Updated: 20 Feb 2021
75 Stars

Build tailwind css for yew style applications, using docker-compose, so you don't need to have npm installed

Overview

The Tailwind Builder for Yew is a powerful tool designed to streamline the development of web applications using Tailwind CSS alongside Rust and WebAssembly. With its efficient integration through Docker, developers can easily manage their CSS while focusing on their application logic. The builder simplifies both development and production workflows, offering straightforward commands for generating and optimizing Tailwind CSS output.

By using this builder, developers can ensure that only the necessary CSS classes are included in their final build, leading to clean and efficient styles that do not bloat their applications. Its compatibility with various project configurations makes it a versatile choice for anyone building modern web applications.

Features

  • Docker Integration: Seamlessly builds Tailwind CSS using Docker, ensuring consistent environments across development and production.

  • Development and Production Modes: Supports both development (dev) and production (prod) builds, allowing for optimized outputs tailored for deployment.

  • File Watching: Automatically watches for changes in source files, re-running the build process to keep the styles up to date during development.

  • Custom Configuration: Users can customize Tailwind and its configuration files easily. The provided tailwind.css and tailwind-config.js files can be modified to fit specific project needs.

  • Flexible Source Location: Easily configure the location of source files using environment variables, allowing for diverse project structures.

  • Minified Output: Production builds include a minified version of the tailwind.css file, reducing file size and improving load times.

  • Advanced Customization: For those looking to use specific versions of Node.js, npm, or Tailwind, users can build their own Docker images to fit their requirements.