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';
|
import formsPlugin from '@tailwindcss/forms';
|
||||||
|
|
||||||
|
const frontendRoot = "./meshchatx/src/frontend";
|
||||||
|
|
||||||
/** @type {import('tailwindcss').Config} */
|
/** @type {import('tailwindcss').Config} */
|
||||||
module.exports = {
|
module.exports = {
|
||||||
darkMode: 'selector',
|
darkMode: 'selector',
|
||||||
content: [
|
content: [
|
||||||
"./src/frontend/index.html",
|
`${frontendRoot}/index.html`,
|
||||||
"./src/**/*.{vue,js,ts,jsx,tsx,html}",
|
`${frontendRoot}/call.html`,
|
||||||
|
`${frontendRoot}/**/*.{vue,js,ts,jsx,tsx,html}`,
|
||||||
],
|
],
|
||||||
theme: {
|
theme: {
|
||||||
extend: {},
|
extend: {},
|
||||||
|
|||||||
Reference in New Issue
Block a user