Help with Tailwind Installation to use LumexUI within a Blazor project #185
Replies: 2 comments 1 reply
-
Hey, @NessfertIndia Thank you for bringing this up and reaching out for help! Here are the steps I personally follow when installing Tailwind CSS in a project: Install Tailwind CSS (the 1st and 2nd step of the Tailwind CSS installation)Install the Standalone CLI executableSince we are working in the dotnet environment, the best way to incorporate Tailwind CSS into the project is the Standalone CLI executable. You just download and add it to your project. I personally use the following MSBuild script to automatically download and rename the executable after the build process: <Target Name="InstallTailwindCLI" AfterTargets="PostBuildEvent" Condition="!Exists('tailwindcss.exe')">
<Exec Command="curl -LO https://github.com/tailwindlabs/tailwindcss/releases/download/v3.4.17/tailwindcss-windows-x64.exe" />
<Exec Command="ren tailwindcss-windows-x64.exe tailwindcss.exe" />
</Target> This script should be added in the Add
|
Beta Was this translation helpful? Give feedback.
-
Hey @NessfertIndia, I have just pushed a preview release that supports Tailwind CSS v4 and improves installation process. Please give it a try! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The current documentation seems to be very basic / targeting experienced programmers with full stack experience
_```
Install Tailwind CSS
LumexUI is built on top of Tailwind CSS. To install, follow the official installation guide. Then, modify the tailwind.config.js file.
__
Note: the PATH_TO_NUGET is the NuGet package path on the machine.
What i tried is listed here but not been able to produce the styles
Beta Was this translation helpful? Give feedback.
All reactions