-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
some problem of use gitalk in vuepress #982
Comments
this happened when i wasing run build prepare to deploy |
|
Thanks for your reply. I'm not sure that's a bug or not , the component was good with run dev , when I run build the error show up.
在 2018-11-06 21:09:50,ULIVZ <notifications@github.com> 写道:
Issue wasn't created to ask questions, it should be issue or pull request.
Removing the issue template isn't very friendly.
According to the error message, this should be the issue of your component <common-gitalk>
Closing this since it's a question, you can create an issue if it's truly turned out to be a bug.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
So at least you should provide the component/reproduction repo. |
<template>
<div id="gitalk-container"></div>
</template>
<script>
import Gitalk from 'gitalk'
export default {
name: "gitalk",
data() {
return {
myGitComment: new Gitalk({
clientID: '....',
clientSecret: '.....',
repo: '....',
owner: '....',
admin: ['....'],
//id: location.pathname, // Ensure uniqueness and length less than 50
id: window.location.hash, // Ensure uniqueness and length less than 50
distractionFreeMode: false, // Facebook-like distraction free mode
language: 'zh-CN',
})
}
},
mounted() {
this.myGitComment.render("gitalk-container");
}
}
</script>
<style scoped>
</style>
At 2018-11-07 10:43:41, "ULIVZ" <notifications@github.com> wrote:
So at least you should provide the component/reproduction repo.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
it's simple but not work
At 2018-11-08 11:16:32, "123" <cswwinner@126.com> wrote:
<template>
<div id="gitalk-container"></div>
</template>
<script>
import Gitalk from 'gitalk'
export default {
name: "gitalk",
data() {
return {
myGitComment: new Gitalk({
clientID: '....',
clientSecret: '.....',
repo: '....',
owner: '....',
admin: ['....'],
//id: location.pathname, // Ensure uniqueness and length less than 50
id: window.location.hash, // Ensure uniqueness and length less than 50
distractionFreeMode: false, // Facebook-like distraction free mode
language: 'zh-CN',
})
}
},
mounted() {
this.myGitComment.render("gitalk-container");
}
}
</script>
<style scoped>
</style>
At 2018-11-07 10:43:41, "ULIVZ" <notifications@github.com> wrote:
So at least you should provide the component/reproduction repo.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hmmmm, you should provide a valid reproduction repo. |
At 2018-11-08 11:35:38, "ULIVZ" <notifications@github.com> wrote:
Hmmmm, you should provide a valid reproduction repo.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Do you need my configuration parameters?
clientID: '9b600a5cc026d65c9bb2',
clientSecret: '6978d7f1f640b38b7e52fb0df795878fa3c1fc85',
repo: 'Viking1726.github.io',
owner: 'Viking1726',
admin: ['Viking1726'],
At 2018-11-08 11:35:38, "ULIVZ" <notifications@github.com> wrote:
Hmmmm, you should provide a valid reproduction repo.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: