前端项目:
pom文件:
4.0.0
com.tangzhe
springboot-vue-client
1.0
jar
springboot-vue-client
this is my springboot vue client
org.springframework.boot
spring-boot-starter-parent
1.5.10.RELEASE
UTF-8
UTF-8
1.8
org.springframework.boot
spring-boot-starter-web
org.springframework.boot
spring-boot-starter-freemarker
org.springframework.boot
spring-boot-maven-plugin
配置文件:
server:
port: 8888
spring:
application:
name: springboot-vue-client
profiles:
active: dev
freemarker:
suffix: .html
controller:
@Controllerpublic classIndexController {
@GetMapping("/test")publicString test() {return "test";
}