Skip to content

The CSS generation doesn't seem to be happening. #151

@bus710

Description

@bus710

Hi all,

With the V2, I found the tool doesn't seem to generate the CSS.

First, my setup looks like this:

  • Debian testing
  • Gleam 1.13.0

Here are the steps I followed:

$ gleam new app && cd app

$ nv gleam.toml      # <= attached below
# add 'target = "javascript"' on top
# add those lines (without the bullets!):
# - [tools.lustre.html]
# - body = "<body class=\"bg-slate-900\" id=\"app\"></body>"

$ gleam add lustre
$ gleam add --dev lustre_dev_tools

$ gleam run -m lustre/dev add tailwind  # <= no CSS file generated!
$ gleam run -m lustre/dev start

I was told that the lustre/dev add tailwind should create the app.css (or something similar), but it didn't happen.

The gleam.toml:

name = "app2"
version = "1.0.0"
target = "javascript"

[dependencies]
gleam_stdlib = ">= 0.44.0 and < 2.0.0"
lustre = ">= 5.4.0 and < 6.0.0"

[dev-dependencies]
gleeunit = ">= 1.0.0 and < 2.0.0"
lustre_dev_tools = ">= 2.3.1 and < 3.0.0"

[tools.lustre.html]
body = "<body class=\"bg-slate-900\" id=\"app\"></body>"

Thanks,

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