Important
This project is deprecated use Feedback Control Nuxt-Layers instead.
Control for feedback in the DCC-BS ecosystem.
Install the module to your Nuxt application with:
bun add git+https://github.com/DCC-BS/feedback-control.bs.js.git#v1.1.0replace v1.1.0 with the latest version tag:
Install the module to your Nuxt application with:
bun add @dcc-bs/feedback-control.bs.jsAdd it to your nuxt.config.ts:
export default defineNuxtConfig({
...
modules: [
'@dcc-bs/feedback-control.bs.js',
...
],
"feedback-control.bs.js": {
repo: "Feedback",
owner: "DCC-BS",
project: "myProject",
githubToken: process.env.GITHUB_TOKEN,
},
...
})That's it! You can now use feedback-control.bs.js in your Nuxt app ✨
Add the control to the app.vue
<template>
<div>
<FeedbackControl />
<NuxtPage />
</div>
</template>optionally you can pass a default email address to the control:
<template>
<div>
<FeedbackControl default-mail="some-mail@bs.ch"/>
<NuxtPage />
</div>
</template>Commit your changes and then:
bun release