40 lines
595 B
Vue
40 lines
595 B
Vue
|
<template>
|
||
|
<the-counter></the-counter>
|
||
|
<control-center></control-center>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import ControlCenter from './components/ControlCenter.vue';
|
||
|
import TheCounter from './components/TheCounter.vue';
|
||
|
|
||
|
export default {
|
||
|
components: {
|
||
|
ControlCenter,
|
||
|
TheCounter,
|
||
|
},
|
||
|
};
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
* {
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
html {
|
||
|
font-family: sans-serif;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
margin: 0;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.container {
|
||
|
margin: 3rem auto;
|
||
|
max-width: 30rem;
|
||
|
border-radius: 12px;
|
||
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.26);
|
||
|
padding: 1rem;
|
||
|
text-align: center;
|
||
|
}
|
||
|
</style>
|