diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2022-10-27 12:38:02 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2022-10-27 12:38:02 -0700 |
commit | 3b1b394e1651fdc62dcd026a9453017c11e20a2c (patch) | |
tree | 2fb5a328a466472e952d0659a7538019866878ee /adenosine-tauri-gui/web | |
parent | b169d130ea80f6954b77a2921c50e8587eadd1ae (diff) | |
download | adenosine-3b1b394e1651fdc62dcd026a9453017c11e20a2c.tar.gz adenosine-3b1b394e1651fdc62dcd026a9453017c11e20a2c.zip |
start skeleton of adenosine-tauri-gui crate
Diffstat (limited to 'adenosine-tauri-gui/web')
-rw-r--r-- | adenosine-tauri-gui/web/index.html | 22 |
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> |