Add module based codepen/jsfiddles?
See original GitHub issueThese templates use <script>
tags
- jsfiddle (latest release branch)
- jsfiddle (dev branch)
- codepen (latest release branch)
- codepen (dev branch)
Both codepen and jsfiddle now support module scripts.
For jsfiddle you need to set it to use no wrap
Whether you want to add them, replace the old module ones, or do nothing is of course up to you guys. Just passing on that both systems can handle import
now
Examples:
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:7 (1 by maintainers)
Top Results From Across the Web
JavaScript/ES Modules and Imports - CodePen Blog
#Importing Pens. Pens have the ability to add External Resources in the JavaScript area of the Pen's Settings. What that does is inject...
Read more >How can I use a CommonJS module on JSFiddle?
It's important to use type="module" inside the script, jsfiddle and codePen already do that, it can work locally too. Each library has an...
Read more >Build Your Own JSFiddle | Execute User Entered ... - YouTube
In this video, I demonstrate how to create your very own jsfiddle like app. Just like in jsfiddle, you can write and run...
Read more >JSitor Mobile App, an alternative of JSFiddle, CodePen and ...
Supports TypeScript, JSX, Babel, Script Modules; Supports Pug document formatting ... JSitor, an alternative of CodePen, JSBin and JSFiddle.
Read more >script type="module" · Issue #1056 - GitHub
greggman commented on Sep 4, 2019. I thought I'd point out codepen does this automatically based on if there is an import ...
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 FreeTop 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
Top GitHub Comments
Yes, you just add them to package.json as usual and they get installed automatically.
There’s codesandbox.io and glitch.com, no need for accounts on either and they both allow uploading assets.