Skip to content

Commit

Permalink
Fix #146 by adding _pages to Tailwind content
Browse files Browse the repository at this point in the history
The whole issue was caused due to me forgetting to add the _pages directory which now can contain Blade files. The loop should now be fixed since we never touch any site files, nor should we need to.
  • Loading branch information
caendesilva authored May 4, 2022
1 parent 99a5c57 commit 49ac8c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
darkMode: 'class',
content: [
'./_site/**/*.html', // If you have issues with npm run watch getting stuck in a loop, remove this line. See https://github.com/hydephp/hyde/issues/146
'./_pages/*.blade.php',
'./resources/views/**/*.blade.php',
'./vendor/hyde/framework/resources/views/**/*.blade.php',
],
Expand Down

0 comments on commit 49ac8c9

Please sign in to comment.