vuejs / vue-hackernews-2.0

HackerNews clone built with Vue 2.0, vue-router & vuex, with server-side rendering
MIT License
10.96k stars 2.15k forks source link

What's the best way to integrate Sentry #334

Closed shreyas-a closed 5 years ago

shreyas-a commented 6 years ago

Also, is there a way to integrate it conditionally so that it'll only be activated depending on NODE_ENV.

akanshgulati commented 5 years ago

@shreyas-a have you tried using Sentry Plugin for Vue?https://docs.sentry.io/clients/javascript/integrations/vue/

shreyas-a commented 5 years ago

I've put Raven.config('URL').addPlugin(RavenVue, Vue).install() in entry-client.js, works fine!