Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have this in my main.html:
<link rel="stylesheet" href="base.css">
<script src="Main.js"></script>
I want these files in folders. So i added a CSS and JS folder in the extension folder
And changed to:
<link rel="stylesheet" href="css/base.css">
<script src="js/Main.js"></script>
But it doesn't work. I also tried ./js/Main.js and /js/Main.js
What do i do wrong?
you have to drag the folder path,
dont write manually sometimes it wnt work
Please check the CSS and JS file structure properly. Also check WBL file in your folder.
is that WBL really needed? Cause i don't use the Dev-Hub to develop (using Atom)
I added "css\base.css; " to WBL , but that deosn't solve it.
and the dev hub seems not to be able to handle files in folders. I can't save it
add new file in mashup
then paste your css code
save it like filename.css
and use it your html page
No Amien, you don't have to put CSS file in WBL!!!..You can revert the change.
I am saying to check the folder structure where the extension is saved. Sometimes WBL file need to written properly.
I fixed it by:
* zipping the extension (including the folder structure that i want)
* delete the extension
* import the extension