Starfyre currently only handles single-level imports and this makes it impossible to import CSS into fyre files in the pages
folder.
If we are in a fyre
file the pages directory and we have these:
import "./css_file_test.css" //this works well if we have the css file available
def mocked_request():
return "fetched on the server"
<pyml>
<p>Hello, World!</p>
</pyml>
And this will throw an error:
import "../css_file_test.css" // will not work because we try to use a css file outside the pages folder
def mocked_request():
return "fetched on the server"
<pyml>
<p>Hello, World!</p>
</pyml>
Also another thought, what happens if the written css import is not an actual css file or cannot be found?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too