diff --git a/cotmw/index.html b/cotmw/index.html index b19040a..48f9cbf 100644 --- a/cotmw/index.html +++ b/cotmw/index.html @@ -4,7 +4,7 @@ - Vite App + Webinterface
diff --git a/cotmw/package-lock.json b/cotmw/package-lock.json index 386c4cf..f37a4f7 100644 --- a/cotmw/package-lock.json +++ b/cotmw/package-lock.json @@ -13,7 +13,7 @@ }, "devDependencies": { "@vitejs/plugin-vue": "^5.2.3", - "vite": "^6.2.4", + "vite": "^6.3.4", "vite-plugin-vue-devtools": "^7.7.2" } }, diff --git a/cotmw/package.json b/cotmw/package.json index 606be4c..86014ad 100644 --- a/cotmw/package.json +++ b/cotmw/package.json @@ -14,7 +14,7 @@ }, "devDependencies": { "@vitejs/plugin-vue": "^5.2.3", - "vite": "^6.2.4", + "vite": "^6.3.4", "vite-plugin-vue-devtools": "^7.7.2" } } diff --git a/cotmw/src/App.vue b/cotmw/src/App.vue index d57d4b3..fce5582 100644 --- a/cotmw/src/App.vue +++ b/cotmw/src/App.vue @@ -1,18 +1,19 @@ diff --git a/cotmw/src/components/Camera.vue b/cotmw/src/components/Camera.vue new file mode 100644 index 0000000..f79cdd8 --- /dev/null +++ b/cotmw/src/components/Camera.vue @@ -0,0 +1,11 @@ + + + + + \ No newline at end of file diff --git a/cotmw/src/components/HUD.vue b/cotmw/src/components/HUD.vue index f5797ea..ce6e205 100644 --- a/cotmw/src/components/HUD.vue +++ b/cotmw/src/components/HUD.vue @@ -8,7 +8,7 @@ function button_switch(e){ log("Pressed Button: " + e.id); - buttonString = e.id == "LocationButton" ? "CameraButton" : "LocationButton"; + let buttonString = e.id == "LocationButton" ? "CameraButton" : "LocationButton"; let btn = document.getElementById(buttonString); btn.classList.remove("btn-success"); @@ -25,12 +25,6 @@ \ No newline at end of file diff --git a/cotmw/src/components/Location.vue b/cotmw/src/components/Location.vue new file mode 100644 index 0000000..f79cdd8 --- /dev/null +++ b/cotmw/src/components/Location.vue @@ -0,0 +1,11 @@ + + + + + \ No newline at end of file diff --git a/cotmw/src/main.js b/cotmw/src/main.js index 0ac3a5f..53a5078 100644 --- a/cotmw/src/main.js +++ b/cotmw/src/main.js @@ -2,5 +2,6 @@ import './assets/main.css' import { createApp } from 'vue' import App from './App.vue' +import 'bootstrap/dist/css/bootstrap.min.css' createApp(App).mount('#app')