Comments (19)
vuepress 插件 设置为github-v4时 , 模板指定issueId
会返回错误 无法将值“ 270”强制转换为Int
from vssue.
// wrong
<Vssue issue-id="270" />
// correct
<Vssue :issue-id="270" />
from vssue.
I found a way to use github app with API v4 instead of using github oauth app with API v3.Just need to create a new github app,and give it issue R/W permission,and use vssue.github-v4.js instead of vssue-github.js.
from vssue.
@Lucy2003 Sounds cool! I'll take a look
from vssue.
Github API v4版本的请求头accept是否应改为 'application/vnd.github.v4+json' ?
还是说,由于要用一部分API v3的功能,所以要用 'application/vnd.github.v3+json' ?
from vssue.
还是说,由于要用一部分API v3的功能,所以要用 'application/vnd.github.v3+json' ?
后者
from vssue.
Any progress on reducing the amount of permissions required?
from vssue.
Vssue 不支持IE 11,可以看所有vssue demo页面在IE下的表现,需要考虑下兼容性问题。
from vssue.
@realpdai 你说的可能是 vuepress 在 ie11 的兼容问题?
from vssue.
@realpdai 你说的可能是 vuepress 在 ie11 的兼容问题?
是的,可以看下你所有demo页面 https://vssue.js.org/zh/demo/github-v4.html, 在IE11下都无法正常显示。也可以看下https://www.pdai.tech。 看似因为ts转换引起的吧
from vssue.
@realpdai 这个是 vuepress 的问题,下个版本会修复
from vssue.
@realpdai 这个是 vuepress 的问题,下个版本会修复
Greate, thx, 坐等出修复后的版本。
from vssue.
所以其实和 vssue 没啥关系,你要急着用的话手动引用 ployfill 的版本
from vssue.
所以其实和 vssue 没啥关系,你要急着用的话手动引用 ployfill 的版本
秒回够赞,暂时还没那么急,我就不引babel-polyfill了,等你出新版本,O(∩_∩)O
from vssue.
Hi, 我注意到vuepress v1.5.0 已经修复了ployfill (https://github.com/vuejs/vuepress/releases/tag/v1.5.0), 但是使用了Vssue插件的vuepress网站依然存在问题(在IE 9/IE 11/edge下报错)。
经测试,删除vssue插件后IE下能正常打开。楼主是否可以将vssue插件的Demo页面升级至最新的vuepress v1.5.0,看下是否兼容IE。
thx.
from vssue.
@realpdai 已更新,看起来没啥问题
from vssue.
@realpdai 已更新,看起来没啥问题
感谢回复,我明天看下公司电脑上IE的显示vssue demo页的显示状况及其版本。
from vssue.
多次测试,还是发现报错:
环境信息:
System:
OS: Windows 10 10.0.14393
CPU: (8) x64 Intel(R) Core(TM) i7-6700T CPU @ 2.80GHz
Binaries:
Node: 12.9.1 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 6.10.2 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: 38.14393.2068.0
npmPackages:
@vuepress/core: 1.5.0
@vuepress/theme-default: 1.5.0
vuepress: ^1.5.0 => 1.5.0
引用最基本vuepress+vssue(都采用最简默认配置排除干扰)
"devDependencies": {
"@vuepress/plugin-back-to-top": "^1.5.0",
"@vuepress/plugin-medium-zoom": "^1.5.0",
"vuepress": "^1.5.0",
"webpack-dev-server": "^3.11.0"
},
"dependencies": {
"@vssue/api-github-v4": "^1.4.0",
"@vssue/vuepress-plugin-vssue": "^1.4.4"
}
错误信息:
SCRIPT1005: Expected '('
链接到如下:
this.vssue.API.platform.meta.reactable&&this.comment.reactions&&!this.editMode)}get reactionKeys(){return["heart","like","unlike"]}get editContentRows(){return this.editContent.split("\n").length-1}get editInputRows(){return this.editContentRows<3?5:this.editContentRows+2}async postReaction({reaction:t}){try{if(this.creatingReactions.includes(t))return;this.creatingReactions.push(t),await this.vssue.postCommentReaction({commentId:this.comment.id,reaction:t})||this.vssue.$emit("error",new Error(this.vssue.$t("reactionGiven",
另外一些表象:
- 测试是在仅保留 vssue+vuepress下进行vuepress build 编译的内容后放置web container运行。
- CentOS环境下编译了,同样的错误
- IE 测试了Edge和IE11都有同样错误
- 删除vssue后,错误消失
- v3, v4都测试了,同样的错误
- 除了IE浏览器下,其它浏览器正常
- IE打开vssue demo页面,正常
from vssue.
另外这个 issue 只是为了记录已知的 github 平台问题,不要在这里反馈新的问题。
from vssue.
Related Issues (20)
- 什么时候支持 vuepress2? HOT 2
- [Question] How to integrate with Vitepress? HOT 2
- 一切配置正常后页面无法评论 HOT 3
- [Feature Request] Add a hook that can modify then oauth url query params
- [Question] 可以登录,无法评论 HOT 2
- [Question] Vssue样式不对? HOT 1
- 请问github.io的pages无法使用吗 HOT 1
- 请教一下有没有从gitalk迁移到vssue的相关文档 HOT 2
- [Feature Request] MathJax rendering HOT 1
- vuepress 2.2 什么时候支持呢[Question] HOT 1
- [Bug Report] gitee 用不了 HOT 1
- [Bug Report] 用了gitee,github都不行,没什么用。 HOT 1
- [Feature Request] 大佬,能否考虑加个“收到新评论后邮件提醒”的功能? HOT 1
- gitlab cant work when i click new issue[Bug Report]
- [Bug Report] Vue url 404
- [Feature Request] 能否添加对文章的点赞功能
- [Feature Request] Add configurable Gitea instances
- [Bug Report] Vssue is not defined HOT 1
- how can vitepress use vssue smoothly
- Migrate Vssue of Vue3-based
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 vssue.