Skip to content

shellingfordly/vssueplay

Repository files navigation

Vssueplay

[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

TODO LIST

Currently only transplanted github_v4 version.

  • github_v4

Used

As vuepress plugin:
  1. install @vssueplay/vuepress-plugin-vssueplay
pnpm i @vssueplay/vuepress-plugin-vssueplay
  1. 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: "",
      },
    }),
  ],
});
  1. used <Vssueplay /> in markdown
# Vssueplay

<Vssueplay />
As vue component:
  1. install
pnpm i vssueplay
  1. 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");
  1. used <Vssueplay /> in vue
<script setup lang="ts">
const config = {
  clientId: "",
  clientSecret: "",
  author: "",
  repo: "",
};
</script>

<template>
  <Vssueplay :config="config" />
</template>

Documentation

TODO

Contributing

📜 Feel free to open issues if you have any problems or ideas.

❤️ Contributions welcome very much!

About

📫 A Vue3-powered Issue-based Comment Plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published