We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e7bf81 commit b5e3d3eCopy full SHA for b5e3d3e
src/index.html
@@ -56,6 +56,8 @@ <h3>SHORTCUTS</h3>
56
<section class="footer">this is an <a href="https://github.com/knandersen/morphaweb" target="_blank">open source
57
project</a>
58
by kevin nørby andersen. all data is processed client-side, which means it stays with you and only you.
59
+ <br />
60
+ <strong>version <span id="version"></span></strong>
61
</section>
62
63
src/index.js
@@ -1,3 +1,7 @@
1
import Morphaweb from './Morphaweb'
2
+import version from 'bundle-text:../assets/VERSION.txt'
3
-const morphaweb = new Morphaweb()
4
+const morphaweb = new Morphaweb()
5
+
6
+const versionElement = document.getElementById('version')
7
+versionElement.textContent = version
0 commit comments