Comments (11)
歌单详情是指首页的吗?你看看我的项目server端的代码
from vue-music.
额,你的项目 我依赖一直装一半就卡住了 。 然后我直接复制 node 代码和 api底下的js 还是不行。
from vue-music.
换个cnpm试试 具体看不到报错也不好解决
from vue-music.
我先试下cnpm 看看你的项目,我用jsonp返回这个 playlistinfoCallback({"code":0,"subcode":1,"msg":"invalid referer"})
from vue-music.
可以了, 复制了你的node代码
from vue-music.
你好,新的vue-cli脚手架,舍弃了dev-server.js 。那我应该把那段axios代理写在哪里,去获取首页的歌单详情。
from vue-music.
@fh12 你可以在项目目录下新建一个server文件夹,require express模块,监听一个新的端口,然后启动node服务,然后在设置一下代理处理一下跨域的问题就好
from vue-music.
@k-water 大神你好,我还是没有弄出来呢,你能教教我吗?
from vue-music.
加我QQ吧
from vue-music.
你的,我新建了server文件了,里面创建了路由实例,然后在webpack-dev-server用app.use()引用。怎么不行。
from vue-music.
您好,我可以加您QQ吗?这个项目我弄了很久了,就是抓取不到数据真的很影响心情
from vue-music.
Related Issues (17)
- 关于路由文件 HOT 1
- 关于部署问题 ,build以后 后台代理的api访问404 HOT 4
- 怎么感觉github上几个vue播放器代码样式都一样一样的? HOT 1
- 播放源 HOT 1
- 能更新一下播放源吗? HOT 3
- Please add an english translation
- 你是怎么宣传才能得到这么多star的 HOT 1
- 关于项目的单位
- 搜索的API好像失效了,搜索功能没用了
- 请问下首页详情的数据是有问题吗? HOT 4
- 可以分享一下百度云吗? HOT 1
- scroll 组件疑问 HOT 1
- 播放源问题 HOT 7
- 请问下,README.md里的是什么思维导图软件生成的,效果这么好? HOT 2
- 歌手页右侧字母点击问题
- 请问下,为什么我获取歌单数据,请求成功,返回的"MusicJsonCallback({\"retcode\":1101,\"code\":1101,\"subcode\":1101})" HOT 8
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 vue-music.