<template>
  <div class="dashboard-container">
    <div class="dashboard-text">{{name}}，welcome to a fantastic world!</div>
  </div>
</template>

<script>
export default {
  name: 'dashboard',
  data() {
    return {
      name: 'admin',
    };
  },
};
</script>

<style rel="stylesheet/less" lang="less" scoped>
  .dashboard {
    &-container {
      height: 100%;
      text-align: center;
      box-sizing: border-box;
    }
    &-text {
      position: absolute;
      left: 50%;
      top: 40%;
      transform: translate(-50%,-40%);
      font-size: 30px;
      line-height: 46px;
    }
  }
</style>
