-
Notifications
You must be signed in to change notification settings - Fork 2.1k
国内不能运行,是因为环境问题吗? #322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
|
有人能回答吗,是不是ssr对state进行了缓存呢? |
就是墙的问题 |
不是获取不到web api,是页面请求不到。 http://localhost:8080/top 一直不响应。 |
刚接触前端,看了下好像 |
@cleartime 你的好像也很难访问 |
Over the wall doesn't work |
always pendding... |
macOS + iTerm + zsh + shadowsocksX-NG 的用户 $ curl ip.gs iTerm 中,编辑 .zshrc 文件: 然后执行: $ source ~/.zshrc |
具体可见241的问题,里面有详细的解答,主要还是翻墙问题。配置下.zshrc就可以了 |
楼上写的也比较清楚了。我这里简单总结下。 其实,浏览器端全局翻墙是不起作用的,因为服务端也需要翻墙。简单的操作可以直接在项目运行中的终端内输入:
以上代理配置是 然后再执行
就行了。 |
可是https://vue-hn.herokuapp.com/top 线上的demo都能打得开啊,就本地打不开 |
不想改.zshrc的话,可以在package.json增加一个命令 "cn:dev": "export http_proxy=http://127.0.0.1:1087 && export https_proxy=http://127.0.0.1:1087 && node server", |
把store完毕的接口删掉就行了
| |
赵富林
|
|
邮箱:[email protected]
|
签名由 网易邮箱大师 定制
在2020年04月19日 18:16,NEE 写道:
不想改.zshrc的话,可以在package.json增加一个命令
"cn:dev": "export http_proxy=http://127.0.0.1:1087 && export https_proxy=http://127.0.0.1:1087 && node server",
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
依赖的接口
| |
赵富林
|
|
邮箱:[email protected]
|
签名由 网易邮箱大师 定制
在2020年04月19日 21:44,赵富林 写道:
把store完毕的接口删掉就行了
| |
赵富林
|
|
邮箱:[email protected]
|
签名由 网易邮箱大师 定制
在2020年04月19日 18:16,NEE 写道:
不想改.zshrc的话,可以在package.json增加一个命令
"cn:dev": "export http_proxy=http://127.0.0.1:1087 && export https_proxy=http://127.0.0.1:1087 && node server",
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
windows怎么搞 |
接口被墙了所以一直是加载状态 |
windows
|
如题,浏览器输入 http://localhost:8080 一直是加载状态,希望可以修复。
另一个问题,是有关vuex state的疑惑。因为运行不起来,我自己改了一份,可以运行了,但发现vuex state是缓存的,比如一但state更改过了,下次访问还是这个状态,而不是每次访问都是最初给的值。举个例子,比如访问某个地址是通过接口请求的,比如id = 1, 那么拉到了数据改了state,id = 2的时候没有拉到数据,state没有更改,渲染的还是之前的state,除非是我从网络错误里强制state等于初始值,是这样的吗?
The text was updated successfully, but these errors were encountered: