-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Css does not load #339
Comments
Your host config is wrong. See documentation: https://docs.requarks.io/wiki/troubleshooting#weird-display-no-styling |
Hi NGPixel. I have followed https://docs.requarks.io/wiki/troubleshooting#weird-display-no-styling and manually I fixed my config.yml port parameter and style loads perfect, thanks for that!! Here my feedback:
So I appreciate if you explain me how do you do :) and why a src "old school mode" is not used :
Thanks for your time and thanks for your wiki. Regards, Richard Leon |
|
I've followed the above and am still having trouble getting linked stylesheets and JS files to load. I've included setup details below. What am I doing wrong? @jrichardsz any tips for the fellow sufferer? My Digital Ocean IP Address = 45.55.151.65 title: dev wiki
host: 'http://45.55.151.65'
port: 80
...etc The console shows the following errors:
I'm confused why the network requests are pointed at I've restarted the app every time I edited the |
Above links are invalid, the new URL is https://docs.requarks.io/wiki/install/troubleshooting |
i did this by adding the port number along with the ip.. |
I came across this page searching for a similar issue with supplementary CSS not loading. Similar to what @jrichardsz posted above on December 1, 2017. Turns out the code I put in the pug file was wrong, had nothing to do with server config or reverse proxy. To link additional stylesheets, use:
Remember that styles declared later win, so add custom stylesheets to be bottom of the // JS / CSS section in the Pug file to override any default styles. Also for those trying to troubleshoot changes to the view pages, or if you're just adverse to learning Pug, https://pughtml.com is a decent converter. |
Just set the port like
This is work for me, set the port in host too! |
Actual behavior
Load web at http://localhost:9100/ after configuration wizard successfull and css does not load.
Expected behavior
Load web normally.
Steps to reproduce the behavior
hardware
software
The text was updated successfully, but these errors were encountered: