feat: 初始化前端Vue应用和Consul配置
添加前端Vue应用基础结构和Consul服务配置
This commit is contained in:
parent
aa09c92ad5
commit
c2026d0a7b
@ -0,0 +1,5 @@
|
||||
datacenter = "dc1"
|
||||
data_dir = "/consul/data"
|
||||
server = true
|
||||
bootstrap_expect = 1
|
||||
ui = true
|
||||
23
services/frontend/src/App.vue
Normal file
23
services/frontend/src/App.vue
Normal 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>
|
||||
4
services/frontend/src/main.js
Normal file
4
services/frontend/src/main.js
Normal file
@ -0,0 +1,4 @@
|
||||
import { createApp } from 'vue'
|
||||
import App from './App.vue'
|
||||
|
||||
createApp(App).mount('#app')
|
||||
Loading…
Reference in New Issue
Block a user