<script setup lang="ts">
import { ref } from 'vue';
import HelloWorld from './components/HelloWorld.vue';
import TheWelcome from './components/TheWelcome.vue';
import Counter from "./components/Counter.vue";

const counter = ref<number>(1); 
  
</script>

<template>
  <header>
    <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
    <h1>{{ counter }}</h1>t内存ei'c使用 Umi UI刚eng'q
    yuan哦TypeScript 声明文件中，使用了import之后，无法找到声明的类 e
    <Counter :counter="counter"/>
    <div class="wrapper">
      <HelloWorld msg="You did it!" />
    </div>
  </header>

  <main>
    <TheWelcome />
  </main>3
  po'st'ida么
</template>

<style scoped lang="scss">
header {
  line-height: 1.5;
  background-color: $primary-color;
}

.logo {
  display: block;
  margin: 0 auto 2rem;
}

@media (min-width: 1024px) {
  header {
    display: flex;
    place-items: center;
    padding-right: calc(var(--section-gap) / 2);
  }

  .logo {
    margin: 0 2rem 0 0;
  }

  header .wrapper {
    display: flex;
    place-items: flex-start;
    flex-wrap: wrap;
  }
}
</style>
