How to add a feedback widget to a Vue app
Where the Bopmigo line goes in a Vue app (index.html (Vite projects keep it at the project root)), with code you can copy, and how to test it locally.

Short answer: paste your Bopmigo line into the index.html your Vue app is served from, just before </body>. Build and deploy.


Add it to Vue
- 1
Create your Bopmigo project
Sign up at bopmigo.com, choose Website, and add your Vue address. Copy your line from Install snippet:
HTML<script src="https://bopmigo.com/widget.js" data-project="YOUR-PROJECT-ID" defer></script> - 2
Open it
Open
index.htmlat the root of your Vite project. - 3
Add your line
Paste the line before
</body>.HTML<!-- index.html --> <body> <div id="app"></div> <script type="module" src="/src/main.ts"></script> <script src="https://bopmigo.com/widget.js" data-project="YOUR-PROJECT-ID" defer></script> </body> - 4
Go live
Build and deploy.
- 5
Send yourself a test
Open the live page, choose Feedback and send a short report. It arrives in your Bopmigo inbox (and by email, if you turned that on). Reply, then open Feedback again to see your answer.
Vue tips
- Don’t add it inside a component: it would load again each time the component mounts.
- Vue Router navigation is picked up automatically.
- Using Nuxt? See the Nuxt guide.
Single-page apps and client-side routing
Load the script once in the root layout, not per page. Bopmigo notes the page people are on when they report, including after client-side navigation, so there’s nothing to re-run on route changes.
Testing locally
Add your local address (for example http://localhost:3000) to the project in Bopmigo, alongside your production address. Reports are only accepted from addresses you list.
What Vue users tend to report
- State that resets when people navigate back.
- Validation messages that never appear.
- Requests from power users for shortcuts.

Your first week
- 1
Day 1: test locally and in production
Send a report from localhost and from your live site, and check both arrive in the same inbox.
- 2
Days 2 to 5: identify signed-in users
Pass the user ID and any useful context, such as plan or account, so each report says who it came from.
- 3
Days 6 and 7: route reports to your tracker
Copy reports that need code changes into your issue tracker, and reply when the fix ships.
Questions
Is there a Vue component?
You don’t need one. The script adds the button for you.
Can I open it from my own button?
Yes. See website options.
Why doesn’t the button show?
Check that the address you’re on is listed in your Bopmigo project, that the change is live, and open a private window in case of caching. If your site has a Content Security Policy, allow https://bopmigo.com.
More: all install guides · website options · install with a coding agent