You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you define more than one input_css path in the config/packages/symfonycasts_tailwind.yaml configuration file, Tailwind stylesheets are not generated for that CSS inputs:
An exception has been thrown during the rendering of a template ("Built Tailwind CSS file does not exist: run "php bin/console tailwind:build" to generate it").
Run the command:
ddev console tailwind:build
See output similar to this one:
! [NOTE] Downloading TailwindCSS binary from https://github.com/tailwindlabs/tailwindcss/releases/download/v3.4.17/tailwindcss-linux-arm64
40525732/40525732 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
! [NOTE] Executing Tailwind (pass -v to see more details).
Rebuilding...
Done in 90ms.
The problem
If you define more than one
input_css
path in theconfig/packages/symfonycasts_tailwind.yaml
configuration file, Tailwind stylesheets are not generated for that CSS inputs:Please see an example in the following repository:
https://github.com/kniziol/TailwindBundle-and-AssetMapper
Steps to reproduce the issue
Clone https://github.com/kniziol/TailwindBundle-and-AssetMapper repo
Install DDEV. See more: Get Started
Run the following commands to start the project:
Go to https://symfony-asset-mapper-paths-separation.ddev.site/brave/elephant
See the error:
Run the command:
See output similar to this one:
Refresh the page: https://symfony-asset-mapper-paths-separation.ddev.site/brave/elephant
Unfortunately, the error still exists 👇
More information
Stylesheet for the
app
entrypoint has been generated only:I expected stylesheets generated for all CSS inputs defined in the configuration file:
The text was updated successfully, but these errors were encountered: