在这里插入图片描述

在VSCode的src/views下新建个文件平example,在example下创建test文件夹,在test里创建index.vue文件
在这里插入图片描述

<template>
<h1>Hello world</h1>
</template>

<script>
export default {
    name: "index"
}
</script>

<style scoped>
</style>

运行结果如下
在这里插入图片描述

Logo

快速构建 Web 应用程序

更多推荐