V
V
Vladislav2018-09-24 12:52:38
JavaScript
Vladislav, 2018-09-24 12:52:38

Are there helpful guides for integrating Sentry into the front end of a Vue application?

Good day, dear toasters. Please help with the search for materials on the implementation of Sentry in Vue. Are there any guides (videos, manuals) on this topic? There is a general understanding of how to do this, but googling for practical examples hasn't helped.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
lavezzi1, 2018-09-24
@VladZen

In the same place, everything is elementary simple, everything is written in the docks.

import Raven from 'raven-js';
import RavenVue from 'raven-js/plugins/vue';

if (ENV_PRODUCTION) {
  Raven
    .config(SENTRY_KEY, {
      environment: ENV,
    })
    .addPlugin(RavenVue, Vue)
    .install();
}

A
Artem, 2018-09-24
@ulkoart

docs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question