Skip to content

Commit

Permalink
Adds the Tailwind styles comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tonysm committed Feb 22, 2024
1 parent 6fc6011 commit 8e07fe4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ private function appendTailwindStylesToLayouts()
$file,
preg_replace(
'/(\s*)(<\/head>)/',
"\\1 <!-- TailwindCSS Styles -->\\1\\2",
"\\1 <link rel=\"stylesheet\" href=\"{{ tailwindcss('css/app.css') }}\" />\\1\\2",
File::get($file),
),
Expand Down

0 comments on commit 8e07fe4

Please sign in to comment.