Skip to content

Commit

Permalink
Merge pull request #23 from data-preservation-programs/feat-plausible…
Browse files Browse the repository at this point in the history
…-analytics

feat: install plausible analytics
  • Loading branch information
orvn authored Sep 10, 2023
2 parents 9857601 + 7923edf commit 1a7153e
Show file tree
Hide file tree
Showing 3 changed files with 162 additions and 20 deletions.
7 changes: 7 additions & 0 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export default defineNuxtConfig({
'@nuxtjs/eslint-module',
'@nuxt/content',
'@/modules/zero-components/index.js',
'@nuxtjs/plausible', // https://github.com/nuxt-modules/plausible
'nuxt-simple-robots', // https://github.com/harlan-zw/nuxt-simple-robots
'nuxt-simple-sitemap' // https://github.com/harlan-zw/nuxt-simple-sitemap
],
Expand All @@ -109,6 +110,12 @@ export default defineNuxtConfig({
'defineStore' // import { defineStore } from 'pinia'
]
},
// ////////////////////////////////////////////////// [Module] @nuxt/plausible
// ---------------------------------------------------------------------------
plausible: {
domain: 'singularity.storage',
autoOutboundTracking: true
},
// //////////////////////////////////////////////////// [Module] @nuxt/content
// ---------------------------------------------------------------------------
content: {
Expand Down
172 changes: 153 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@
"@nuxt/content": "^2.6.0",
"@nuxt/eslint-config": "^0.2.0",
"@nuxtjs/eslint-module": "^4.1.0",
"@nuxtjs/plausible": "^0.2.3",
"@pinia/nuxt": "^0.4.9",
"eslint": "^8.42.0",
"fs-extra": "^11.1.1",
"nuxt": "^3.6.3",
"nuxi": "^3.6.3",
"nuxt": "^3.6.3",
"nuxt-simple-robots": "^3.1.2",
"nuxt-simple-sitemap": "^3.2.6",
"sass": "^1.62.0",
Expand Down

0 comments on commit 1a7153e

Please sign in to comment.