refactor: update Tailwind CSS configuration for frontend structure
- Introduced a variable for the frontend root path to streamline content paths. - Updated content paths to reflect the new directory structure for Tailwind CSS.
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
import formsPlugin from '@tailwindcss/forms';
|
||||
|
||||
const frontendRoot = "./meshchatx/src/frontend";
|
||||
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
darkMode: 'selector',
|
||||
content: [
|
||||
"./src/frontend/index.html",
|
||||
"./src/**/*.{vue,js,ts,jsx,tsx,html}",
|
||||
`${frontendRoot}/index.html`,
|
||||
`${frontendRoot}/call.html`,
|
||||
`${frontendRoot}/**/*.{vue,js,ts,jsx,tsx,html}`,
|
||||
],
|
||||
theme: {
|
||||
extend: {},
|
||||
|
||||
Reference in New Issue
Block a user