1、清空App.vue文件内容,替换成下面
<template>
<router-view></router-view>
</template>
2、清空style.css文件内容,替换成下面内容
*{
margin: 0;
padding: 0;
list-style: none;
text-decoration: none;
outline: none;
box-sizing: border-box;
}
3、在src文件夹下新建views文件夹后,新建Index.vue主页文件,在Index.vue文件中输入vbase-3-ts-setup,生成快捷代码
<template>
<div>
</div>
</template>
<script setup lang="ts">
</script>
<style scoped lang="scss">
</style>