openc3-cosmos-tool-cmdsender 5.6.1 → 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: 1d39014c69b701c7f17d43d014cac5e51cc294e1af2aa1e0e03adffda455d53e
4
- data.tar.gz: 7846c59b644cfeb0ec7cf0114545ad87f1777d6caa51485a6956ef996ba26454
3
+ metadata.gz: 0d91e16b483ffc52c4d81328c604eacae93140a18c12a631675c9ad203f7fc12
4
+ data.tar.gz: 61f8966865a58f2c535d90b6925280cd739ab6dcf8f9d84b9751087e63a452b1
5
5
  SHA512:
6
- metadata.gz: 71785ce9a45e3888b98d4ff3444e1410331e94c543b5cf50fbc8068bca99446af190044f396028d0f9c2f86ab0b65d616d128904e3eb5312b57c93d7ebb5dbfe
7
- data.tar.gz: 0b3a6549d1e2bdb053344c2517be8b3432283b1ce67a6f31b248100a2f619c73dc9c7e6ea885edd8f98e6757491b56c3aa63f1e3fd25a9fd3adf42c5a3accf47
6
+ metadata.gz: d63d63412eebbe689f3ef9ea85b97f1f1acaf64acd6c336d1d78c93372f928e144dacbdb5f742c6158a7a8ddbdcd0459966ddbd121779474250ee4a1558c47fb
7
+ data.tar.gz: 739131eda420a82f45a3111634e5aa2525adac0c8c4d11f8ca6297db1f1e0cff1cf215e5cb017ceee8c8fb0c4344e6b2fed67e217c567576bd43cb071a916c91
@@ -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/cmdsender/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-cmdsender 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-cmdsender 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/cmdsender//tools/cmdsender/js/app.js', window.location.href);
3
+ mfLink.href = fullSrc;
4
+ mfLink.textContent = fullSrc;</script></main></head><body><div id="app"></div></body></html>