summaryrefslogblamecommitdiffstats
path: root/webapp/src/components/MyModule.vue
blob: 67aa859b793b719b8342fb23a415bae98fdb52f3 (plain) (tree)

















































                                                                   
<i18n>
{
  "en": {
    "hello": "hello world!",
    "test": {
      "abc": "abc"
    }
  },
  "de": {
    "hello": "Hallo Welt!",
    "test": {
      "abc": "abc"
    }
  }
}
</i18n>

<template>
  <div class="my-module">
  </div>
</template>

<script>

export default {
  name: 'MyModule',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  },
  methods: {
    logout () {
      localStorage.removeItem('apiToken')
      this.$router.push('/login')
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

.my-module {
  display: flex;
  flex-direction: column;
  align-items: center;
}

</style>