Files
it-smi/apps/web/tailwind.config.js
T
arswarog 94e5e09218 web: приложение React + Vite с Tailwind
Каркас web-приложения: Vite, Tailwind, ESLint, раздача статики через
Caddy, страница со
статусом и версией проекта.
2026-10-27 10:43:38 +03:00

20 lines
522 B
JavaScript

import { dirname, join } from 'path';
import { fileURLToPath } from 'url';
import { createGlobPatternsForDependencies } from '@nx/react/tailwind';
const __dirname = dirname(fileURLToPath(import.meta.url));
/** @type {import('tailwindcss').Config} */
export default {
content: [
join(__dirname, './src/**/*!(*.stories|*.spec).{ts,tsx,html}'),
join(__dirname, './index.html'),
...createGlobPatternsForDependencies(__dirname),
],
theme: {
extend: {},
},
plugins: [],
};