Vue
分别启动两个应用,用命令 npm run serve 启动 Vue 应用,成功之后如下图所示。
通过 http://localhost:8080/ 即可访问 Vue 应用,启动 Spring Boot 应用,成功之后如下图所示。
通过 http://localhost:8181/ 即可访问 Spring Boot 应用,比如用 Postman 访问它的数据接口。
Vue
分别启动两个应用,用命令 npm run serve 启动 Vue 应用,成功之后如下图所示。
通过 http://localhost:8080/ 即可访问 Vue 应用,启动 Spring Boot 应用,成功之后如下图所示。
通过 http://localhost:8181/ 即可访问 Spring Boot 应用,比如用 Postman 访问它的数据接口。
Copyright © 2018 - 2021 www.yd166.com., All Rights Reserved.