Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Blazor WebAssembly - Visual Studio 2022 Tailwind 4.0 integration

$
0
0

I have attempted to setup Blazor WebAssembly project with minimal steps required for integration with Tailwind 4.0. i am failing to execute the engine

attempting to execute this:

npx @tailwindcss/cli -i ./wwwroot/css/tailwind-client-source.css -o ./wwwroot/css/tailwind-client.min.css

results in the following error:

Error: Invalid declaration: `@import "tailwindcss"`

enter image description here

i have put together a small repo to use a point of reference here:

Blazor WebAssembly with Tailwind 4.0 integration

i have seen this discussion but i am not sure this is helpful in the given situation applied to VS: discussion on UTF-8 with BOM


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>