Skip to content

Commit

Permalink
Merge pull request #38 from StrangeRanger/dev
Browse files Browse the repository at this point in the history
Add .vscode settings
  • Loading branch information
StrangeRanger authored Aug 18, 2024
2 parents 9bcc8c2 + c2c1fbf commit 3f3de55
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 52 deletions.
51 changes: 0 additions & 51 deletions .github/workflows/site-deployment.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"cSpell.words": [
"hthompson",
"iconsets",
"materialdesignicons",
"Matomo",
"nuxtjs",
"pseudonymized",
"subprocessor",
"subprocessors",
"vueuse"
]
}
8 changes: 7 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'

export default defineNuxtConfig({
devtools: { enabled: true },

build: {
transpile: ['vuetify']
},

modules: [
(_options, nuxt) => {
nuxt.hooks.hook('vite:extendConfig', (config) => {
Expand All @@ -14,13 +16,17 @@ export default defineNuxtConfig({
})
}
],

plugins: [{ src: '~/plugins/vue-matomo.js', mode: 'client' }],

vite: {
vue: {
template: {
transformAssetUrls
}
}
},
css: ['~/assets/css/main.css']

css: ['~/assets/css/main.css'],
compatibilityDate: '2024-08-18'
})
1 change: 1 addition & 0 deletions plugins/vue-matomo.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import VueMatomo from 'vue-matomo'

// eslint-disable-next-line no-undef
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.use(VueMatomo, {
host: 'https://analytics.hthompson.dev',
Expand Down

0 comments on commit 3f3de55

Please sign in to comment.