feat: 初始化前端Vue应用和Consul配置

添加前端Vue应用基础结构和Consul服务配置
This commit is contained in:
fanfpy 2025-06-21 16:37:53 +08:00
parent aa09c92ad5
commit c2026d0a7b
3 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,5 @@
datacenter = "dc1"
data_dir = "/consul/data"
server = true
bootstrap_expect = 1
ui = true

View File

@ -0,0 +1,23 @@
<template>
<div id="app">
<h1>AriStockAI</h1>
<p>智能选股分析系统</p>
</div>
</template>
<script>
export default {
name: 'App'
}
</script>
<style>
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #333;
margin-top: 60px;
}
</style>

View File

@ -0,0 +1,4 @@
import { createApp } from 'vue'
import App from './App.vue'
createApp(App).mount('#app')