feat: init sentry
This commit is contained in:
@@ -145,6 +145,8 @@ export default {
|
||||
"@nuxtjs/toast",
|
||||
// https://github.com/nuxt-community/i18n-module
|
||||
"@nuxtjs/i18n",
|
||||
// https://github.com/nuxt-community/sentry-module
|
||||
"@nuxtjs/sentry",
|
||||
// https://github.com/nuxt-community/robots-module
|
||||
"@nuxtjs/robots",
|
||||
// https://github.com/nuxt-community/sitemap-module
|
||||
@@ -197,6 +199,12 @@ export default {
|
||||
id: process.env.GTM_ID,
|
||||
},
|
||||
|
||||
// Sentry module configuration
|
||||
sentry: {
|
||||
dsn: process.env.SENTRY_DSN,
|
||||
lazy: true,
|
||||
},
|
||||
|
||||
// Sitemap module configuration (https://github.com/nuxt-community/sitemap-module)
|
||||
sitemap: {
|
||||
hostname: process.env.BASE_URL,
|
||||
|
||||
Reference in New Issue
Block a user