element-plus/play/app.example

30 lines
469 B
Plaintext
Raw Normal View History

<template>
<div class="play-container">
<ElButton> test </ElButton>
</div>
</template>
<script setup lang="ts">
import { ElButton } from '@element-plus/components'
</script>
<style lang="scss">
html,
body {
width: 100vw;
height: 100vh;
margin: 0;
#play {
height: 100%;
width: 100%;
.play-container {
height: 100%;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
}
}
</style>