| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <!-- <template>
- <div>
- <p>你好</p>
- <h1>{{ msg }}</h1>
- <button @click="changeMsg">修改</button>
- </div>
- </template>
- <script lang="ts" >
- export default {
- // data() {
- // return {
- // msg:"111"
- // }
- // },
- // methods:{
- // changeMsg() {
- // this.msg = '222';
- // }
- // }
- }
- </script>
- <style lang="scss" scoped>
- </style> -->
- <template>
- <div>
- <h1>首页</h1>
- <Demo1></Demo1>
- </div>
- </template>
- <script lang="ts" setup>
- import Demo1 from './components/Demo1.vue';
- // export default {
- // // components:{
- // // Demo1
- // // }
- // }
- </script>
- <style lang="scss" scoped>
- </style>
|