diff --git a/src/frontend/call.html b/src/frontend/call.html new file mode 100644 index 0000000..9aaca8e --- /dev/null +++ b/src/frontend/call.html @@ -0,0 +1,23 @@ + + + + + + + Phone | Reticulum MeshChat + + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/src/frontend/call.js b/src/frontend/call.js new file mode 100644 index 0000000..4b225b1 --- /dev/null +++ b/src/frontend/call.js @@ -0,0 +1,10 @@ +import axios from 'axios'; +import {createApp} from 'vue'; +import "./style.css"; +import CallPage from "./components/call/CallPage.vue"; + +// provide axios globally +window.axios = axios; + +createApp(CallPage) + .mount('#app'); diff --git a/src/frontend/public/call.html b/src/frontend/components/call/CallPage.vue similarity index 59% rename from src/frontend/public/call.html rename to src/frontend/components/call/CallPage.vue index ae02486..cb64f31 100644 --- a/src/frontend/public/call.html +++ b/src/frontend/components/call/CallPage.vue @@ -1,36 +1,4 @@ - - - - - - - Phone | Reticulum MeshChat - - - - - - - - - - - - - - - - - - - - - -
+ - - \ No newline at end of file diff --git a/vite.config.js b/vite.config.js index 225a9e9..5f4d167 100644 --- a/vite.config.js +++ b/vite.config.js @@ -18,8 +18,13 @@ export default { rollupOptions: { input: { + // we want to use /src/frontend/index.html as the entrypoint for this vite app app: path.join(__dirname, "src", "frontend", "index.html"), + + // we want to use /src/frontend/call.html as the entrypoint for the phone call app + call: path.join(__dirname, "src", "frontend", "call.html"), + }, }, },