tailwindcss-in-lwc Tailwind Templates

Tailwindcss In Lwc

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

⚡ 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.

Top categories

Loading Svelte Themes