@angularforge/gallery
Tailwind CSS Setup
Required: point Tailwind at the gallery bundle so its utility classes are generated.
node_modules/@angularforge/gallery/fesm2022/*.mjs with all component templates inlined — so Tailwind only needs to scan that file.
Tailwind v4
@source directive — no JS config needed:
@import 'tailwindcss';
/* Scan the library bundle so its utility classes are generated */
@source '../node_modules/@angularforge/gallery/fesm2022/*.mjs';Tailwind v3
content globs:
module.exports = {
content: [
'./src/**/*.{html,ts}',
'./node_modules/@angularforge/gallery/fesm2022/*.mjs',
],
};