C
C#4w ago
Wasted

Blazor app wont use tailwind js files during navigation

I added tailwind and added the js file to app.razor and put them in the correct folders, why dont they get loaded when using a link, but do when I enter the url to the page or when I hit refresh? Happens while using the NavLink and anchor https://github.com/chrisb123/BlazorTailwind
GitHub
GitHub - chrisb123/BlazorTailwind
Contribute to chrisb123/BlazorTailwind development by creating an account on GitHub.
2 Replies
Unknown User
Unknown User4w ago
Message Not Public
Sign In & Join Server To View
Wasted
WastedOP4w ago
See example go to Page2 It looks different from when you enter the url or refresh Page2 The difference is the use tailwind I added some interactions, some thing dont work unless you refresh the page The only thing that seems to work is adding data-enhance-nav="false" to the anchor

Did you find this page helpful?