This pull fixes an issue where the tailwind.config.js's content couldn't be resolved correctly, when running the command hugo server from the base dir of a Hugo project.
Steps to reproduce:
Create a new Hugo site hugo new site test
Clone tailwindcss-starter theme cd test/themes && git clone https://github.com/dirkolbrich/hugo-theme-tailwindcss-starter.git tailwind
Change config.toml to use theme = 'tailwind'
Change dir back to test and run hugo server -D
CSS is not loaded correctly
After applying the fix, everything works as expected when running hugo server -D from the site's base dir.
This pull fixes an issue where the
tailwind.config.js
'scontent
couldn't be resolved correctly, when running the commandhugo server
from the base dir of a Hugo project.Steps to reproduce:
hugo new site test
cd test/themes && git clone https://github.com/dirkolbrich/hugo-theme-tailwindcss-starter.git tailwind
config.toml
to usetheme = 'tailwind'
test
and runhugo server -D
After applying the fix, everything works as expected when running
hugo server -D
from the site's base dir.