Giter Site home page Giter Site logo

Comments (11)

k-water avatar k-water commented on July 29, 2024

歌单详情是指首页的吗?你看看我的项目server端的代码

from vue-music.

superXJg avatar superXJg commented on July 29, 2024

额,你的项目 我依赖一直装一半就卡住了 。 然后我直接复制 node 代码和 api底下的js 还是不行。

from vue-music.

k-water avatar k-water commented on July 29, 2024

换个cnpm试试 具体看不到报错也不好解决

from vue-music.

superXJg avatar superXJg commented on July 29, 2024

我先试下cnpm 看看你的项目,我用jsonp返回这个 playlistinfoCallback({"code":0,"subcode":1,"msg":"invalid referer"})

from vue-music.

superXJg avatar superXJg commented on July 29, 2024

可以了, 复制了你的node代码

from vue-music.

fh12 avatar fh12 commented on July 29, 2024

你好,新的vue-cli脚手架,舍弃了dev-server.js 。那我应该把那段axios代理写在哪里,去获取首页的歌单详情。

from vue-music.

k-water avatar k-water commented on July 29, 2024

@fh12 你可以在项目目录下新建一个server文件夹,require express模块,监听一个新的端口,然后启动node服务,然后在设置一下代理处理一下跨域的问题就好

from vue-music.

fh12 avatar fh12 commented on July 29, 2024

@k-water 大神你好,我还是没有弄出来呢,你能教教我吗?

from vue-music.

k-water avatar k-water commented on July 29, 2024

加我QQ吧

from vue-music.

aloneWang avatar aloneWang commented on July 29, 2024

你的,我新建了server文件了,里面创建了路由实例,然后在webpack-dev-server用app.use()引用。怎么不行。

from vue-music.

yangguoe avatar yangguoe commented on July 29, 2024

您好,我可以加您QQ吗?这个项目我弄了很久了,就是抓取不到数据真的很影响心情

from vue-music.

Related Issues (17)

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.