简体   繁体   中英

Trying to deploy a GitHub page but having trouble with CSS and JS not showing up?

I have easily deployed the files, but all I get is the plain HTML - none of the CSS or JS is transferring over. The GH page is mcdanielj8.github.com/todolist

I've even tried changing the path to todolist/assets/css/...., but that hasn't worked either.

I wish I could just upload a static site to Heroku!

Got it - the path is case sensitive, apparently. Assets/css/main.css , etc worked.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM