I’m creating a html program to display grafana iframes because with sitemap it is not possible to move in time. I have the first setup working and test this inside VSC for the different screen formats.
I get a different layout. Can somebody explain this and give me a way to solve this? I need openhab because I also want to access items inside openhab.
Is it possible that this file structure is not working
Not sure why but the script.js file is not processed. The file index.css is working. I found that a change to the file structure is solving the issue but I don’t understand why
Most likely you are running into issues with the new content security policy which has been updated specifically for better security around importing scripts. When you find that the script is not loading, check the browser console, you will probably see a CSP warning.
Keeping the script in-line in the html file is a fine solution.