Vue.js plugin for Gitlab Review Toolbar
This feature from Gitlab is undocumented. You can find it after setting up a review app in merge request.
Component code is accessible here.
- Add the
@dansmaculotte/vue-gitlab-review-toolbar
dependency withyarn
ornpm
to your project - Configure it:
import Vue from 'vue'
import GitlabReviewToolbar from '@dansmaculotte/vue-gitlab-review-toolbar'
Vue.use(GitlabReviewToolbar, {
projectId: 'GITLAB_PROJECT_ID',
projectPath: 'GITLAB_PROJECT_PATH',
mergeRequestId: 'GITLAB_MERGE_REQUEST_ID',
mergeRequestUrl: 'YOUR_GITLAB_URL',
personalAccessToken: 'YOUR_PERSONAL_ACCESS_TOKEN'
})
- Type:
String
- Default:
''
- Default:
- Type:
String
- Default:
''
- Default:
- Type:
String
- Default:
''
- Default:
- Type:
String
- Default:
'https://gitlab.com'
- Default:
- Type:
String
- Default:
''
- Default:
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev