I’m not a very professional user, and this issue might have been mentioned by others before, but I haven’t been able to resolve it myself.
Issue Description
I’m trying to integrate a theme as a Git submodule in my Hugo project, but I’m facing issues. The theme doesn’t load correctly, and the CSS styles are not being applied, causing the page to display improperly.
Followed the official documentation and added the theme as a submodule:
issue
The themes/theme directory was pulled correctly, but the CSS file doesn’t seem to be recognized or compiled by Hugo.
Here’s the content of my styles.css file:
I think this is caused by importing tailwindcss in the css file
version
Hugo Version: hugo v0.147.3-05417512bd001c0b2cc0042dcc584575825b89b3+extended windows/amd64 BuildDate=2025-05-12T12:25:03Z VendorInfo=gohugoio
Theme Version: Latest (pulled via Git submodule)
Operating System: Windows 11
Node.js Version: v22.16.0