CSS / Styling broken, when not using nix develop #131

Open
opened 2025-10-27 20:05:28 +00:00 by Ghost · 3 comments
Ghost commented 2025-10-27 20:05:28 +00:00 (Migrated from code.ole.blue)

When developing on arch without nix, the website looks ugly. I assume the CSS just isn't loaded.

There are no errors when building.
I retroactively installed tailwindcss and dart-sass (listed in README.md and flake.nix respectively) without any change.

Running the watch command from within a nix develop shell, in the same clone of the project, it works.

When developing on arch without nix, the website looks ugly. I assume the CSS just isn't loaded. There are no errors when building. I retroactively installed *tailwindcss* and *dart-sass* (listed in `README.md` and `flake.nix` respectively) without any change. Running the watch command from within a `nix develop` shell, in the same clone of the project, it works.
Ghost commented 2025-10-28 13:11:44 +00:00 (Migrated from code.ole.blue)

Can you include a PR to update the README to include the installtion of dart-sass?

Can you include a PR to update the README to include the installtion of dart-sass?
Ghost commented 2025-11-03 14:26:59 +00:00 (Migrated from code.ole.blue)

I don't think dart-sass is a requirement. As with tailwindcss, the compilation worked without it.
sqlite is also not needed, at least for developing the project. I might be nice for running custom queries against the db file.

If we are cleaning up the non-nix instructions, there are two more things I noticed:

  • Mentioning that cargo-leptos and sqlx can and should be installed with cargo could be nice as well.
  • The $ sqlx database setup command, and with it the definition of DATABASE_URL, seem unnecessary too, since the db is created by the build command.
I don't think *dart-sass* is a requirement. As with *tailwindcss*, the compilation worked without it. *sqlite* is also not needed, at least for developing the project. I might be nice for running custom queries against the db file. If we are cleaning up the non-nix instructions, there are two more things I noticed: - Mentioning that *cargo-leptos* and *sqlx* can and should be installed with **cargo** could be nice as well. - The `$ sqlx database setup` command, and with it the definition of `DATABASE_URL`, seem unnecessary too, since the db is created by the build command.
Ghost commented 2025-11-03 20:54:51 +00:00 (Migrated from code.ole.blue)

I see. Can you create a PR with these changes?

I see. Can you create a PR with these changes?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Strichliste/strichliste#131
No description provided.