openc3-cosmos-tool-dataviewer 5.5.2.pre.beta0.20230315040702 → 5.6.0

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: 428008182f3fa80c8b7353ea7c2a74d9c41809162a33ddc22b890354ffdb1915
4
- data.tar.gz: 4eb28268a57e679380cc064bf7fccfa8b335bbd6ac46c64875e88699a05a4dfa
3
+ metadata.gz: 5e45e8a8cdb56383995906173ec8eeb29fc853cffeeed18a275c792df97ac2f0
4
+ data.tar.gz: 50cecaf20d8e96618ced32bc342ec36344059a8e3e6491a99c093eba5e4e4025
5
5
  SHA512:
6
- metadata.gz: 67f6296942d8fc76f41e2435a188369eb419d4f394d1126ca7ebff5cebeb8a373bc1a63f3421e2bb3d1f5c9568db80cd7823c7db611bf4778dacccf8d3afcd4f
7
- data.tar.gz: e5466d9ccc0f6ad1dc4039d32cbcba69f7279a4d41c9ce2c118681a676b6a4c93c4d8157d526d0ca69d15b00700352d31fc55f76ac86f9a874988b3177ad0662
6
+ metadata.gz: 985caf285b4bd90fc6d8804c227c408b5ff91ece064761cf6c7c9bb09043845f0c596fe042d3702e9a2c4fe64e0138f905a56ea9f9d24ff7b15975434007c0a8
7
+ data.tar.gz: 8a57aac1d892b77bf58bfc8aa832d60a8d7c0a7fead39897e00ee9e0b583b2e05ac0b4b096d6e528d2345e8e15a310aee31a3cf10f8b2fa74740527d718cbe5b
@@ -1,4 +1 @@
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-dataviewer 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-dataviewer 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/dataviewer//tools/dataviewer/js/app.js', window.location.href);
3
- mfLink.href = fullSrc;
4
- mfLink.textContent = fullSrc;</script></main></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><script defer="defer" src="/tools/dataviewer/js/app.js"></script></head><body><div id="app"></div></body></html>