Skip to content

Instantly share code, notes, and snippets.

@blittle
Created August 14, 2017 21:40
Show Gist options
  • Save blittle/da7355fd4a187655bb1eef31f5ded83b to your computer and use it in GitHub Desktop.
Save blittle/da7355fd4a187655bb1eef31f5ded83b to your computer and use it in GitHub Desktop.
dynamic
<!DOCTYPE html>
<html>
<body>
<script>
// RequireJS
requirejs('dist/app.js');
// SystemJS
SystemJS.import('dist/app.js');
// Native ECMAScript modules
import('dist/app.js');
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment