Skip to content

lukethacoder/tailwindcss-in-lwc

Repository files navigation

⚡ TailwindCSS in LWC

Small POC of using TailwindCSS (v4) in an on-platform Salesforce setup.

Installation

pnpm install

Development

In two different terminals run the following:

Runs the LWR instance:

pnpm dev

Runs the TailwindCSS watch command:

pnpm styles

Warning

You are still required to manually reload the browser to get the staticresource to properly refresh the page...unfortunately.

About

⚡ Small POC of using TailwindCSS (v4) in an on-platform LWC Salesforce setup

Topics

Resources

Stars

Watchers

Forks