Skip to content

missing Tailwind CSS in production #9

@freesteph

Description

@freesteph

Hey, thanks for the gem which was a breeze to use in development:

image

However in production the Tailwind CSS appears to be missing:

image

If I manually edit the production HTML and add a CDN-version of Tailwind, it looks fine. Am I missing a step to have production correctly pick up the assets?

From the README I thought it would be taken care of:

In development mode, the full 3mb+ Tailwind stylsheet is loaded, but in production, only the css classes used by files in app/views and app/helpers are included.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions