Open evilmonkey19 opened 9 months ago
Thanks for the kind words! Happy to hear that you enjoy the framework.
At the moment Fresh doesn't pre-transpile code, other than creating bundles for islands. This means that deno receives the .css
import and get's confused because it doesn't understand them. It's something I'm hoping to address for the next release. Spent some time this cycle already on exploring all the possible options, but it needs more time to bake.
Long story short, for now CSS files can be either loaded from CDN or by putting them in Fresh's static/
directory and pointing the <link>
-tag to that.
Thank you very much for the quick answer! I will use for now your suggestions of the CDN and the static/
.
Hi dinasours,
First of all, congratulations for the awesome framework you are creating. I really love it! ❤️ It's awesome how intuitive it is. Please, keep with this awesome ecosystem you're creating around Deno. Most of my new projects, I'm starting them with Deno.
I was trying to use the library animate.css and came across a small issue to integrate it with fresh. If I add it via a CDN there isn't any trouble in the integration. However, when i try to use via npm it always through the following error:
I tried to look into the animate.css file and I found out that it starts as:
Everything seems correct and I don't know where is the error. Can someone help me?
Thank you, evilmonkey19
I add some file which maybe helpful:
deno.json
app.tsx
If you need any other file, please let me know!