更新
This commit is contained in:
@@ -20,6 +20,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
|
||||
|
||||
// these devServer options should be customized in /config/index.js
|
||||
devServer: {
|
||||
public: '3z3wg7.natappfree.cc',
|
||||
clientLogLevel: 'warning',
|
||||
historyApiFallback: true,
|
||||
hot: true,
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
<template>
|
||||
<el-container>
|
||||
<el-main>
|
||||
注册
|
||||
</el-main>
|
||||
</el-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "Register",
|
||||
data () {
|
||||
return {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
@@ -67,7 +67,6 @@
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import Vue from 'vue'
|
||||
import Router from 'vue-router'
|
||||
import SignIn from '@/components/SignIn'
|
||||
import Register from '@/components/Register'
|
||||
|
||||
Vue.use(Router)
|
||||
|
||||
@@ -10,6 +11,10 @@ export default new Router({
|
||||
path: '/',
|
||||
name: 'SignIn',
|
||||
component: SignIn
|
||||
},{
|
||||
path: '/register',
|
||||
name: 'Register',
|
||||
component: Register
|
||||
}
|
||||
]
|
||||
})
|
||||
|
||||
@@ -17,3 +17,5 @@ eureka:
|
||||
instance:
|
||||
hostname: 3z3wg7.natappfree.cc
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -22,6 +22,10 @@
|
||||
<artifactId>spring-cloud-starter-config</artifactId>
|
||||
</dependency>
|
||||
<!--注册中心-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-eureka</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
|
||||
|
||||
@@ -22,6 +22,10 @@
|
||||
<artifactId>spring-cloud-starter-config</artifactId>
|
||||
</dependency>
|
||||
<!--注册中心-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-eureka</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user