封装方法,搭建项目

This commit is contained in:
2025-04-01 16:04:54 +08:00
parent e181408248
commit 6f8ddc1daa
15 changed files with 210 additions and 2990 deletions

View File

@@ -1,18 +1,14 @@
<template>
<div class="home">
<img alt="Vue logo" src="../assets/logo.png">
<HelloWorld msg="Welcome to Your Vue.js App"/>
<HelloWorld msg="Welcome to Your Vue.js App" />
</div>
</template>
<script>
<script setup>
// @ is an alias to /src
import HelloWorld from '@/components/HelloWorld.vue'
export default {
name: 'HomeView',
components: {
HelloWorld
}
}
console.log(process.env.VUE_APP_API_URL)
</script>