@userback/vue
Overview
The official NPM module for embedding the Userback Widget into your Vue application.
- Official NPM Package: @userback/vue
- Official GitHub Repository: Userback Vue SDK
Prerequisites
Before you begin, ensure the following:
- Userback Workspace: A workspace is needed to collect and manage feedback.
- Access Token: Retrieve your token via the Code Icon in your workspace.
- Plan Requirements: Available on all plans.
Installation
Install the Userback package for Vue using the following command:
NPM Installation
npm i @userback/vueQuickstart
Set up the Userback plugin using App.use to install it into the global scope under $userback:
Vue Example
import UserbackPlugin from '@userback/vue';
createApp(App)
.use(UserbackPlugin, {
token: '**Userback Access Token**',
// Optionally identify logged-in users
user_data: {
id: "123456", // Unique user ID
info: {
name: "someone", // User's name
email: "[email protected]" // User's email
}
}
})
.mount('#app');For advanced customization, refer to the JavaScript SDK Documentation.
Need help? Visit the Help Center or use the chat bubble on this page to contact our support team.
Updated 3 months ago
What’s Next
Did this page help you?