4/20/2023 0 Comments Codekit index.html doesnt load![]() ![]() I have reported it on but sadly no response yet. I personally think it's some part of the rendering process of Chrome doesn't work well with file:// protocol (probably due to lack of testing) and it's not exposed to dev tool well to tell/debug. If you try to reduce an HTML file to find a minimum reproducible example, you will realize there are multiple ways to make it work (mostly by removing some JS, but sometimes removing some tag would also do the trick) there is no single culprit. ![]() That's why the above answers were able to "fix" it by randomly remove something. The problem youre seeing is because the / location block only applies if you have the / specified, and because you dont allow autoindex and because /whatever is your URI and that doesnt exist either as a file or a directory, it falls back to your third option, the. The weird thing about this bug is that it isn't caused by any single resource or html element once you reduced the elements on the HTML to a degree, it will suddenly start to work. index nginx.html This tells nginx to instead look for a different index file. Bower doesnt concatenate or minify code or do anything else - it. It does not happen if you simply host it on any localhost server. This will open your default browser to the index.html document at the root of the project. Bower can manage components that contain HTML, CSS, JavaScript, fonts or even image files.When your view a web page in your browser window the reality is that only one file is being displayed and all content that appears on the page being displayed in your browser window is brought to you through that single file. ![]() It seems to be stuck at loading certain local resources for no reason (and it would eventually load, albeit took 10+ seconds):Īnd during the whole time, nothing is rendered on the page (totally blank). If you can view some of your HTML code then we can skip 1-3 above and look within the page being loaded into your browser window. In Codekit 2, I was able to launch a server and navigate the directory structure of folders and files. If you put that in a file called index.njk, you could process it with a simple Node script into index. I don't have an answer, but I have been noticed this bug for quite a while. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |