Comments (7)
可能是你没有启动后端,或者前端的代理没有配置正确
from dubbo-postman.
后端启动成功 还是network error
from dubbo-postman.
后端启动成功 还是network error
通过这个命令进行前端代码的编译:npm run build
如果前端编译成功,然后后端启动正常,访问 localhost:8080 就可以访问到页面首页了。
from dubbo-postman.
请问如何才能通过9528访问且不报错network error呢?看起来这像是一个跨域的问题
from dubbo-postman.
请问如何才能通过9528访问且不报错network error呢?看起来这像是一个跨域的问题
直接对页面请求进行mock 测试的话,可以修改 src/main/frontend/main.js 文件,把
//如果是本地调试就使用,在build的时候正注释掉这行
//import './mock'
上面的注释去掉,然后npm run dev,就可以了。
from dubbo-postman.
from dubbo-postman.
谢谢!我这边实际测试情况是想要进行前后端分离使用,并不是用来本地调试的。。。不知这种应该如何解决跨域问题,是要使用cas登录吗? 从 Windows 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>发送 发件人: @.> 发送时间: 2021年10月9日 14:32 收件人: @.> 抄送: @.>; @.> 主题: Re: [everythingbest/dubbo-postman] 页面启动后,一直报错,network error (#18) 请问如何才能通过9528访问且不报错network error呢?看起来这像是一个跨域的问题 直接对页面请求进行mock 测试的话,可以修改 src/main/frontend/main.js 文件,把 //如果是本地调试就使用,在build的时候正注释掉这行 //import './mock' 上面的注释去掉,然后npm run dev,就可以了。 ― You are receiving this because you commented. Reply to this email directly, view it on GitHub<#18 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIIXWGR2CQTZCVJ6I5HTFXTUF7OX7ANCNFSM4TMKUSDQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
看readme文件:
先编译前端ui: npm run build
再编译后端代码: maven clean package
然后启动: java -jar target/dubbo-postman.jar
访问地址:http://localhost:8080/ 就可以了。
from dubbo-postman.
Related Issues (19)
- 部署遇到问题 HOT 1
- 请问后端启动具体需要配置哪些? HOT 1
- 创建服务碰到的问题? HOT 6
- 我想把redis哨兵模式改成单机模式,只改redisConfig里面的东西可以不? HOT 1
- 启动错误 HOT 1
- nexus有密码的话,如何配置呢? HOT 5
- 不是问题 HOT 1
- 已解决,自己的问题
- 已解决,自己的问题 HOT 1
- 非常感谢作者的开源精神,十分佩服和感激,我来给作者提几个 后面需求,希望作者认真考虑,非常NICE的工具 HOT 1
- 加载到内存失败。 HOT 3
- pom文件解析失败 HOT 3
- 添加注册中心地址失败及redis连接方式调整 HOT 6
- 添加dubbo attachments支持 HOT 1
- 同学,您这个项目引入了893个开源组件,存在53个漏洞,辛苦升级一下 HOT 1
- 发送服务 HOT 3
- 访问服务菜单点击send按钮报错 HOT 6
- 创建服务时下载pom文件错误 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dubbo-postman.