This commit is contained in:
winLsy
2017-12-20 22:06:06 +08:00
parent 960415b99c
commit d49ba50149
7 changed files with 39 additions and 1 deletions
+1
View File
@@ -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,
+23
View File
@@ -0,0 +1,23 @@
<template>
<el-container>
<el-main>
注册
</el-main>
</el-container>
</template>
<script>
export default {
name: "Register",
data () {
return {
}
}
}
</script>
<style>
</style>
-1
View File
@@ -67,7 +67,6 @@
}
}
</style>
+5
View File
@@ -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
+4
View File
@@ -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>
+4
View File
@@ -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>