Skip to content

Instantly share code, notes, and snippets.

@adodado
Created January 15, 2021 16:26
Show Gist options
  • Save adodado/7b23dbc74557d9170c63dcd76bc4b0d9 to your computer and use it in GitHub Desktop.
Save adodado/7b23dbc74557d9170c63dcd76bc4b0d9 to your computer and use it in GitHub Desktop.
medium_microfrontend_article_index.ejs head changes
<% if (isLocal) { %>
<script type="systemjs-importmap">
{
"imports": {
"@admcos/root-config": "http://localhost:9000/admcos-root-config.js",
"@admcos/nav-app": "http://localhost:9001/admcos-nav-app.js",
"@admcos/app1": "http://localhost:9002/admcos-app1.js",
"@admcos/app2": "http://localhost:9003/admcos-app2.js"
}
}
</script>
<% } %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment