diff --git a/frontend/.gitignore b/frontend/.gitignore new file mode 100644 index 0000000..0cbd2d0 --- /dev/null +++ b/frontend/.gitignore @@ -0,0 +1,31 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +.DS_Store +dist +dist-ssr +coverage +*.local + +/cypress/videos/ +/cypress/screenshots/ + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? + +*.tsbuildinfo +.vscode diff --git a/frontend/README.md b/frontend/README.md new file mode 100644 index 0000000..114cf21 --- /dev/null +++ b/frontend/README.md @@ -0,0 +1,29 @@ +# frontend + +This template should help get you started developing with Vue 3 in Vite. + +## Recommended IDE Setup + +[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur). + +## Customize configuration + +See [Vite Configuration Reference](https://vite.dev/config/). + +## Project Setup + +```sh +npm install +``` + +### Compile and Hot-Reload for Development + +```sh +npm run dev +``` + +### Compile and Minify for Production + +```sh +npm run build +``` diff --git a/frontend/index.html b/frontend/index.html new file mode 100644 index 0000000..e28a0a3 --- /dev/null +++ b/frontend/index.html @@ -0,0 +1,20 @@ + + +
+ + +{{ mqttMetric.mqtt_topic }}
+{{ findNodeById(traceroute.to)?.long_name || '???' }} to {{ findNodeById(traceroute.from)?.long_name || '???' }}
+