mirror of
https://github.com/DCC-BS/feedback-control.bs.js.git
synced 2026-08-26 10:24:20 +00:00
Read-only mirror of https://github.com/DCC-BS/feedback-control.bs.js — Basel-Stadt. Issues & pull requests at the source.
- Vue 77.9%
- TypeScript 22.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .github/workflows | ||
| .vscode | ||
| playground | ||
| src | ||
| test/nuxt | ||
| .editorconfig | ||
| .gitignore | ||
| .npmignore | ||
| .npmrc | ||
| biome.json | ||
| bun.lock | ||
| CHANGELOG.md | ||
| codecov.yml | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| renovate.json | ||
| tsconfig.json | ||
| vitest.config.ts | ||
feedback-control.bs.js
Important
This project is deprecated use Feedback Control Nuxt-Layers instead.
Control for feedback in the DCC-BS ecosystem.
Quick Setup
Install the module to your Nuxt application with:
bun add git+https://github.com/DCC-BS/feedback-control.bs.js.git#v1.1.0
replace v1.1.0 with the latest version tag:
Install the module to your Nuxt application with:
bun add @dcc-bs/feedback-control.bs.js
Add 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 ✨
Usage
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>
Release a new Version
Commit your changes and then:
bun release