Skip to content

Commit

Permalink
fix(client): pinia and nuxt don't get along that well, so i gotta hel…
Browse files Browse the repository at this point in the history
…p out a little
  • Loading branch information
DaniloMurer committed Aug 29, 2024
1 parent 7a64ae8 commit 96975ce
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 35 deletions.
18 changes: 7 additions & 11 deletions client/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
devtools: {enabled: true},
modules: [
'@nuxtjs/tailwindcss',
'nuxt-aos',
'@pinia/nuxt',
],
telemetry: false,
})
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
devtools: {enabled: true},
modules: ["@nuxtjs/tailwindcss", "nuxt-aos", "@pinia/nuxt"],
telemetry: false
})
51 changes: 27 additions & 24 deletions client/package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
{
"name": "client",
"version": "0.0.0",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
},
"dependencies": {
"@nuxtjs/tailwindcss": "^6.12.1",
"@pinia/nuxt": "^0.5.4",
"daisyui": "^4.12.10",
"nuxt": "^3.12.4",
"nuxt-aos": "^1.2.5",
"vue": "latest"
},
"devDependencies": {
"@iconify-json/carbon": "^1.1.36",
"@iconify-json/logos": "^1.1.43",
"@iconify/tailwind": "^1.1.1"
}
}
{
"name": "client",
"version": "0.0.0",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
},
"dependencies": {
"@nuxtjs/tailwindcss": "^6.12.1",
"@pinia/nuxt": "^0.5.4",
"daisyui": "^4.12.10",
"nuxt": "^3.12.4",
"nuxt-aos": "^1.2.5",
"vue": "latest"
},
"devDependencies": {
"@iconify-json/carbon": "^1.1.36",
"@iconify-json/logos": "^1.1.43",
"@iconify/tailwind": "^1.1.1"
},
"overrides": {
"vue": "latest"
}
}

0 comments on commit 96975ce

Please sign in to comment.