Skip to content

Instantly share code, notes, and snippets.

View juliogc's full-sized avatar
💻

Júlio Gori Corradi juliogc

💻
  • São Paulo
View GitHub Profile
@juliogc
juliogc / 1. single-spa-systemjs.md
Last active February 7, 2025 21:44
SingleSPA + SystemJS

SingleSPA + SystemJS

Updating the index.ejs

  1. Change import-map-override meta tag to make it work with SystemJS (more info at import-map-overrides/docs/configuration.md)
  2. Update single-spa import to load a SystemJS script
    "single-spa": "https://cdn.jsdelivr.net/npm/[email protected]/lib/es2015/system/single-spa.min.js",
  1. Change all scripts tags type to use SystemJS type <script type="systemjs-importmap">
  2. Remove the import-map-injector script tags
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Blue Component</key>
<real>0.30093687772750854</real>
<key>Green Component</key>
<real>0.36639997363090515</real>