aboutsummaryrefslogtreecommitdiffstats
path: root/adenosine-tauri-gui/web/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'adenosine-tauri-gui/web/index.html')
-rw-r--r--adenosine-tauri-gui/web/index.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/adenosine-tauri-gui/web/index.html b/adenosine-tauri-gui/web/index.html
new file mode 100644
index 0000000..0e227c5
--- /dev/null
+++ b/adenosine-tauri-gui/web/index.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>Document</title>
+ </head>
+ <body>
+ <h1>Welcome from Tauri!</h1>
+ <script>
+ // access the pre-bundled global API functions
+ const invoke = window.__TAURI_INVOKE__
+
+ // now we can call our Command!
+ // Right-click the application background and open the developer tools.
+ // You will see "Hello, World!" printed in the console!
+ invoke('greet', { name: 'World' })
+ // `invoke` returns a Promise
+ .then((response) => console.log(response))
+ </script>
+ </body>
+</html>