Trouble getting styles to load on Deno Deploy
paudrow opened this issue · 4 comments
I've forked this repo and tried to run it directly on Deno Deploy. The application loads and seems to have all the parts but no styling. I can view the styling when I run the site locally.
Perhaps I'm missing something obvious, but it would be good to document this.
To Reproduce
- Deploy with Deno Deploy. Set Automatic deployment mode and
main.ts
as the entry point. - Go to the deployment website to see that no styles are applied.
Expected behavior
The styling should load.
Screenshots
Here is what I see on the website hosted by Deno Deploy:
Desktop (please complete the following information):
- OS: Ubuntu 22.04
- Browser: Brave (also tried Firefox)
- Version 1.61.109
Additional context
I don't see anything funny in the build logs or runtime logs.
I'm also able to get styling to work on Deno Deploy using the Fresh template. I'm not sure what's different here.
Hi Audrow, sorry for the late reply. You've setup the Deno Deploy and GitHub integration mode to Automatic when it should be via a GitHub action. We changed this a while ago but didn't update the documentation. I'll rewrite the documentation shortly and update you once done.
That works great - thanks!
What is it about this project that requires it to be run with Github Actions? Maybe Tailwind?
Yeah, Tailwind.