openc3-cosmos-tool-dataviewer 5.5.2 → 5.6.1

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: 3d699ba6f337966937059fa57df15aae99c08e380b77473a3469d61c033f72ab
4
- data.tar.gz: d2d77244a3364db046505732fb8fd616bbd9d15edd98f875670c2eb32216155d
3
+ metadata.gz: 64c442b068b2f974ace2035b46097d75e8243a759861f211ed6a7f6af6867537
4
+ data.tar.gz: 23a92e15a5aa7518501a7d586a855b8c257070e8b5b64fae96c271218b42c01e
5
5
  SHA512:
6
- metadata.gz: 23c8461ef6b4339817a28dbe203ae7dcd2325a92d755420be4cb2eb492bbd48941308ac235ac7533086d912cc867360e94e84612376e48c3f5a8c8799086230f
7
- data.tar.gz: 2ec68bc31159c2dbd81703cf3a1469641b621640b6546524a09c385ca3d8d839fb2c9f1a8091c97243e64c54c58136c73b7f0eacb19e46cf5712676e010d84ee
6
+ metadata.gz: a6161e496606527d99a64cc4f73e7017ea7b5abc6ec03714e41f0c3f898acd25016c4bb365a7e8a25ad412678e016dae8028b7b040716f23c1362e37819bdbfe
7
+ data.tar.gz: 73bbc68634052a4887fbe96acc9c3964c0e5c26e82d929d4c98181eaf445ad07452043ba381287ed3b701f8815566a42bddb0fca02049dc1b7605e812f2286a2
@@ -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>