From 985fe634360bd51e88de030642bba502da0c7bcb Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Mon, 25 Nov 2024 16:49:30 +0100 Subject: [PATCH] Fix Tailwind content path for nested Blade pages --- packages/hyde/tailwind.config.js | 2 +- tailwind.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/hyde/tailwind.config.js b/packages/hyde/tailwind.config.js index 2b89513881e..499b0b97e78 100644 --- a/packages/hyde/tailwind.config.js +++ b/packages/hyde/tailwind.config.js @@ -3,7 +3,7 @@ const defaultTheme = require('tailwindcss/defaultTheme'); module.exports = { darkMode: 'class', content: [ - './_pages/*.blade.php', + './_pages/**/*.blade.php', './resources/views/**/*.blade.php', './vendor/hyde/framework/resources/views/**/*.blade.php', ], diff --git a/tailwind.config.js b/tailwind.config.js index f2bb5c89831..9171b63559f 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -3,7 +3,7 @@ const defaultTheme = require('tailwindcss/defaultTheme'); module.exports = { darkMode: 'class', content: [ - './_pages/*.blade.php', + './_pages/**/*.blade.php', './resources/views/**/*.blade.php', './vendor/hyde/framework/resources/views/**/*.blade.php', ],