openc3-cosmos-tool-tlmviewer 5.6.0 → 5.7.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: caf247fd42f69a6af106c5b52940172fa80a842d5a5d2ae1ab89aca71383a9d1
4
- data.tar.gz: 71cc0878325688dc542cf6734c7f25b7281571b408f6ebc10b01f23d79ffc665
3
+ metadata.gz: cd3d1df709ef8877050a9dd325c0f10c21c82375d10534d48f1a85e0d703f273
4
+ data.tar.gz: a0f26320cde67bb6dbf5cbb9cba039d4d5c8f816e9095f0cc2d51edfc08d454e
5
5
  SHA512:
6
- metadata.gz: 60dce0e96c947d6d132b69834d9e0c1c48ab2c24928f70cf4f9a9b655afa53b04878e068954bc9c87f62eeaf1b3d6ef298c9593f76f8bffca87091f84f0d762a
7
- data.tar.gz: 663b5eab38e9712b0f2b38f2975ff5d864792185035d8daae3fbd88f85dac620c55a2ed726fdc0daca500596d2c8a06e0e416d5a69549f1f89b6cb9abbd54eaa
6
+ metadata.gz: 473cc0776644308dd8cdd29815876c781de6a0f98bab2fe2f820c41d842272c14971cefa57ff21bed09a2e5d42e6c546649bc909bb372c1da46d42b714a4e912
7
+ data.tar.gz: 5865ac0b79f3dbe2612b5ece9273c2451adbb23e8ba2da131c0728473901b2040baa5abe78cfccfbba0bb42a72b4802db6cb9067dec6ba198ebc5f2a0b28e67e
@@ -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/tlmviewer/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-tlmviewer 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-tlmviewer 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/tlmviewer//tools/tlmviewer/js/app.js', window.location.href);
3
+ mfLink.href = fullSrc;
4
+ mfLink.textContent = fullSrc;</script></main></head><body><div id="app"></div></body></html>