openc3-cosmos-tool-handbooks 5.6.1 → 5.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 97ca2221bb398717087fe153c1ed113688bafa0ee497a5543fe91313cca8d1e6
4
- data.tar.gz: a514fec7affb9066b99dcad3e6459c25a63c7d3ef3685c0050c0dfc7726bd334
3
+ metadata.gz: 8ff34e3d673ec43ae7f21eeceebf31bec8c096d99ff73afbc2698a9b12c61a35
4
+ data.tar.gz: '0840802043547ecaeb0269b01c3f456faa1be62a7cd32e4cc4facc13963fe460'
5
5
  SHA512:
6
- metadata.gz: fc49360eef7f51d87c0171346e2b0cae9234d5d318f5f01a7e8d66f2da748941546ccc264b820c030c6cb262d46ba54632573e4e0ca3bbb33c0a4cb2a0080c12
7
- data.tar.gz: '0531890883fdcc0782b4a7edb41e38af0e6737a98b45faf65907728c55827c48bcb8b0bdc60a094038dd606e7397feee22a30ff554823ef4c5e180fe585111eb'
6
+ metadata.gz: 8e868cb4d9d032b731a690396c0730c17474837e0bcc7dd0b02cb862abd37819b4a6b12a9f8bf8ee9ecf6db3fa0277473c50ddd93a03e1bacb532d5b95be9e1f
7
+ data.tar.gz: 2fcbf4549be772355fd09834cd78b7eb47274e7d3c073e64f52af6e48eb895a548d0e0c874ef5f3751d535a8285970e7981bee23c926b2b0c4193b2d1bee0007
@@ -1 +1,4 @@
1
- <!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Vue App</title><script defer="defer" src="/tools/handbooks/js/app.js"></script></head><body><div id="app"></div></body></html>
1
+ <!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Vue App</title><main><h1>Your Microfrontend is not here</h1><p>The @openc3/cosmos-tool-handbooks microfrontend is running in "integrated" mode, since standalone-single-spa-webpack-plugin is disabled. This means that it does not work as a standalone application without changing configuration.</p><h2>How do I develop this microfrontend?</h2><p>To develop this microfrontend, try the following steps:</p><ol><li>Copy the following URL to your clipboard: <a target="_blank" rel="noopener" id="mf-url"></a></li><li>In a new browser tab, go to the your single-spa web app. This is where your "root config" is running. You do not have to run the root config locally if it is already running on a deployed environment - go to the deployed environment directly.</li><li>In the browser console, run <code>localStorage.setItem('devtools', true);</code> Refresh the page.</li><li>A yellowish rectangle should appear at the bottom right of your screen. Click on it. Find the name @openc3/cosmos-tool-handbooks and click on it. If it is not present, click on Add New Module.</li><li>Paste the URL above into the input that appears. Refresh the page.</li><li>Congrats, your local code is now being used!</li></ol><p></p><p>For further information about "integrated" mode, see the following links:</p><ul><li><a target="_blank" rel="noopener" href="https://single-spa.js.org/docs/recommended-setup#local-development">Local Development Overview</a></li><li><a target="_blank" rel="noopener" href="https://github.com/joeldenning/import-map-overrides">Import Map Overrides Documentation</a></li></ul><p></p><h2>If you prefer Standalone mode</h2><p>To run this microfrontend in "standalone" mode, the standalone-single-spa-webpack-plugin must not be disabled. In some cases, this is done by running <code>npm run start:standalone</code>. Alternatively, you can add <code>--env standalone</code> to your package.json start script if you are using webpack-config-single-spa.</p>If neither of those work for you, see more details about enabling standalone mode at <a target="_blank" rel="noopener" href="https://github.com/single-spa/standalone-single-spa-webpack-plugin">Standalone Plugin Documentation</a>.<p></p><script>const mfLink = document.getElementById('mf-url');
2
+ const fullSrc = new URL('/tools/handbooks//tools/handbooks/js/app.js', window.location.href);
3
+ mfLink.href = fullSrc;
4
+ mfLink.textContent = fullSrc;</script></main></head><body><div id="app"></div></body></html>