Just deployed the repo with Heroku but I can't see any styles from Tailwind being applied, what am I missing here? I got Tailwind through Mix and it works great in local environment, what can I do? This is the list of config vars I have set up: https://imgur.com/GuJGeCz
Nope, not exactly but now that you mention the Network tab it's not listed either, and what's a "compiled CSS for version control"? Should I have compiled it and then push to git, to finally clone to Heroku??
@tykus okay yes, not a 404 but yes there is a problem with app.css and app.js, it says "the load has been blocked" this is the literal message:
Mixed active content has been blocked from loading "http://thpsvido.herokuapp.com/css/app.css"
Mixed active content loading blocked "http://thpsvido.herokuapp.com/js/app.js"
Forget about that question, this is actually the first time Im trying to deploy something when I had Tailwind installed through Mix, (other times have involved just using a CDN) .. basically I don't know what Heroku is expecting honestly.
webpack compiled successfully
fatal: pathspec 'css/app.css' did not match any files
On branch main
Your branch is up to date with 'origin/main'.
Changes not staged for commit:
modified: public/css/app.css
modified: public/js/app.js
Untracked files:
public/js/app.js.LICENSE.txt
no changes added to commit
Everything up-to-date
and, should I do the same for app.js too? Thanks :-)
You're the best @tykus thanks for the answer, nothing makes a developer happier than seeing his or her project uploaded into the internet!! He-he. Thanks.