zoukankan      html  css  js  c++  java
  • vue项目 安装sentry监控日志

    vue项目 安装sentry监控日志 https://sentry.io/chaoling/vue11/getting-started/javascript-vue/

    # Using yarn
    yarn add @sentry/vue @sentry/tracing
    
    # Using npm
    npm install --save @sentry/vue @sentry/tracing

    Capturing Source Maps // webpack.config.js

    npm install --save-dev @sentry/webpack-plugin
    const SentryWebpackPlugin = require("@sentry/webpack-plugin");
    
    module.exports = {
      // other configuration
      configureWebpack: {
        plugins: [
          new SentryWebpackPlugin({
            // sentry-cli configuration
            authToken: process.env.SENTRY_AUTH_TOKEN,
            org: "example-org",
            project: "example-project",
            release: process.env.SENTRY_RELEASE,
    
            // webpack specific configuration
            include: ".",
            ignore: ["node_modules", "webpack.config.js"],
          }),
        ],
      },
    };

  • 相关阅读:
    msp430入门编程25
    msp430入门编程24
    msp430入门编程23
    msp430入门编程22
    msp430入门编程21
    msp430入门编程20
    msp430入门编程16
    msp430入门编程15
    msp430入门编程14
    msp430入门编程13
  • 原文地址:https://www.cnblogs.com/hill-foryou/p/14856321.html
Copyright © 2011-2022 走看看