Giter VIP home page Giter VIP logo

Comments (5)

duxianwei520 avatar duxianwei520 commented on April 20, 2024

@iEricOuyang 路径没错的,本地项目开启的端口是3000,但是再开启一个node服务不可能再是3000了,会冲突的啊,你可以看mockserver.js里面,listen的是8080端口,而不是3000

from react.

wangcwang avatar wangcwang commented on April 20, 2024

数据请求报错,没有数据显示啊!

from react.

tomee-oy avatar tomee-oy commented on April 20, 2024

一个项目要开两个服务?为啥?

from react.

tomee-oy avatar tomee-oy commented on April 20, 2024

@duxianwei520 明白了,项目跑起来要开两个服务,一个用node mockserver监听提供数据服务,另一个用npm start开启本地项目热点。

from react.

duxianwei520 avatar duxianwei520 commented on April 20, 2024

@wangcwang 你看看network里面 有没有发出来网络请求,请求是否有回应的

from react.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.