[WIP]
This is a Vue3-powered Issue-based Comment Plugin.
This inspiration of project comes in vssue. The vssueplay is equivalent to a vue3-version of vssue.
The vssueplay is currently under development, you can check out vue-comment, which is the front-end demo project of vssueplay
Currently only transplanted github_v4 version.
- github_v4
As vuepress plugin:
- install
@vssueplay/vuepress-plugin-vssueplay
pnpm i @vssueplay/vuepress-plugin-vssueplay
- set config in
.vuepress/config.ts
import { vssueplayPlugin } from "@vssueplay/vuepress-plugin-vssueplay";
export default defineUserConfig({
title: "VuePress",
plugins: [
vssueplayPlugin({
config: {
clientId: "",
clientSecret: "",
repo: "",
author: "",
},
}),
],
});
- used
<Vssueplay />
in markdown
# Vssueplay
<Vssueplay />
As vue component:
- install
pnpm i vssueplay
- add component to main.ts
import { createApp } from "vue";
import App from "./App.vue";
import { Vssueplay } from "vssueplay";
import "vssueplay/dist/style.css";
const app = createApp(App);
app.component("Vssueplay", Vssueplay);
app.mount("#app");
- used
<Vssueplay />
in vue
<script setup lang="ts">
const config = {
clientId: "",
clientSecret: "",
author: "",
repo: "",
};
</script>
<template>
<Vssueplay :config="config" />
</template>
TODO
📜 Feel free to open issues if you have any problems or ideas.
❤️ Contributions welcome very much!