Announcement: New version with support for CSS files
See original GitHub issueHi Everyone,
The newest version of LoadJS (2.1.0) includes support for fetching CSS files:
loadjs(['/path/to/foo.css', '/path/to/bar.js'], {
success: function() { /* foo.css and bar.js loaded */ },
fail: function(depsNotFound) { /* foo.css or bar.js didn't load */ }
});
Please try it out and let us know what you think!
Andres
https://github.com/muicss/loadjs https://www.npmjs.com/package/loadjs
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:12 (6 by maintainers)
Top Results From Across the Web
New version with support for Promises and an Edge CSS ...
Hi Everyone, I just wanted to let you know that we just released a new version of LoadJS (v.3.6.0) that includes a couple...
Read more >Feature Announcement - Tailwind CSS support - Wasp-lang
When these two files are present, Wasp will make sure all the required NPM dependencies get added, that PostCSS plays nicely with Tailwind ......
Read more >About The Latest Versions of HTML5 and CSS - Universal Class
The latest version of HTML is HTML 5, which has changed the face of web page design. The latest version of CSS is...
Read more >Tailwind CSS v3.0
Tailwind CSS v3.0 is a new major version of the framework and there are some minor breaking changes, but we've worked really hard...
Read more >How Do I Force the Browser to Update the CSS?
Notice that I'm pointing to my CSS using the commonly known <link> ... How do i make sure that the latest version of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Boldewyn The latest version of LoadJS (v3.5.0) has support for “css!” prefix to force treating files as stylesheets: https://github.com/muicss/loadjs https://www.npmjs.com/package/loadjs
Ok, let’s keep the
#.css
hack for now and give others a chance to weigh in.