0.0
The project is in a healthy, maintained state
LesliAssets provides shared frontend resources for The Lesli Framework, including stylesheets, JavaScript modules, images, icons, and reusable view partials.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

LesliAssets

Shared frontend assets and build tools for the Lesli Framework.





Introduction

LesliAssets is the official frontend asset library for the Lesli Framework.

It centralizes stylesheets, JavaScript modules, images, icons, view partials, and Tailwind build tooling shared by Lesli applications and engines.


Features

  • Shared stylesheets, JavaScript modules, images, and icons
  • Reusable email and view resources
  • Tailwind entrypoint discovery across applications, engines, and gems
  • Quiet builds with concise success messages and captured compiler errors
  • Development watch mode and minified production builds

Installation

Add LesliAssets to the application:

bundle add lesli_assets

Usage

Build Tailwind stylesheets

LesliAssets discovers files ending in .tailwind.css inside source/tailwind directories and writes their compiled output to the corresponding Rails asset directory.

Run the bundled builder from the Rails application root:

bundle exec ruby "$(bundle show lesli_assets)/bin/build-tailwind" --root .

Build minified production assets or start the file watchers:

bundle exec ruby "$(bundle show lesli_assets)/bin/build-tailwind" --root . --minify
bundle exec ruby "$(bundle show lesli_assets)/bin/build-tailwind" --root . --watch

Tailwind entrypoints

Place Tailwind source files in the application or package source directory:

source/tailwind/application.tailwind.css

The builder preserves the relative filename and writes generated CSS under app/assets/stylesheets. Engine and gem outputs receive a snake-case namespace to avoid collisions.


Development

Clone the repository and install its dependencies:

git clone https://github.com/LesliTech/LesliAssets.git
cd LesliAssets
bundle install

To use local source from a Lesli development workspace, reference it from the host application's Gemfile:

gem "lesli_assets", path: "gems/LesliAssets"

Tests

Run the default test task from the LesliAssets directory:

bundle exec rake

Documentation


Community


License

Copyright (c) 2026, Lesli Technologies, S. A.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

The complete license text is available in the license file.




Lesli icon

The Open-Source SaaS Development Framework for Ruby on Rails.