28 lines
467 B
Vue
28 lines
467 B
Vue
<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>
|