2022-11-29 06:29:26 +00:00
|
|
|
<!--
|
|
|
|
* @Author: Kane
|
|
|
|
* @Date: 2022-11-22 17:50:49
|
|
|
|
* @LastEditors: Kane
|
|
|
|
* @LastEditTime: 2022-11-29 13:25:47
|
|
|
|
* @FilePath: \hello-cli\src\App.vue
|
|
|
|
* @Description:
|
|
|
|
*
|
|
|
|
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
|
|
|
-->
|
2022-11-22 09:57:20 +00:00
|
|
|
<template>
|
2022-11-29 06:29:26 +00:00
|
|
|
<div class="content">
|
|
|
|
<App1></App1>
|
|
|
|
<App2></App2>
|
|
|
|
</div>
|
2022-11-22 09:57:20 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2022-11-29 06:29:26 +00:00
|
|
|
import App1 from "./components/vuex/App1.vue";
|
|
|
|
import App2 from "./components/vuex/App2.vue";
|
2022-11-22 09:57:20 +00:00
|
|
|
|
|
|
|
export default {
|
2022-11-29 06:29:26 +00:00
|
|
|
name: "App",
|
2022-11-22 09:57:20 +00:00
|
|
|
components: {
|
2022-11-29 06:29:26 +00:00
|
|
|
App1,
|
|
|
|
App2,
|
|
|
|
},
|
|
|
|
};
|
2022-11-22 09:57:20 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
#app {
|
2022-11-29 06:29:26 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
background-color: #f4f5f7;
|
|
|
|
width: 40rem;
|
|
|
|
margin: 0px auto;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#app div {
|
|
|
|
padding: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#app div > * + * {
|
|
|
|
margin-left: 1rem;
|
2022-11-22 09:57:20 +00:00
|
|
|
}
|
|
|
|
</style>
|