Initial commit
This commit is contained in:
27
frontend/src/App.vue
Normal file
27
frontend/src/App.vue
Normal file
@@ -0,0 +1,27 @@
|
||||
<template>
|
||||
<v-app>
|
||||
<app-header />
|
||||
<v-main>
|
||||
<router-view />
|
||||
</v-main>
|
||||
</v-app>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapStores } from 'pinia'
|
||||
import AppHeader from '@/components/AppHeader.vue'
|
||||
import { useOpcuaStore } from '@/stores/opcua'
|
||||
|
||||
export default {
|
||||
name: 'App',
|
||||
components: {
|
||||
AppHeader,
|
||||
},
|
||||
computed: {
|
||||
...mapStores(useOpcuaStore),
|
||||
},
|
||||
mounted() {
|
||||
this.opcuaStore.connect()
|
||||
},
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user