Browse Source

chore: use @nuxt/image

pull/7651/head
mertmit 9 months ago
parent
commit
c9a3fc69b0
  1. 2
      .npmrc
  2. 2
      packages/nc-gui/nuxt.config.ts
  3. 2
      packages/nc-gui/tsconfig.json

2
.npmrc

@ -1,3 +1,3 @@
engine-strict=true
shamefully-hoist=true
use-node-version=18.19.0
use-node-version=18.19.0

2
packages/nc-gui/nuxt.config.ts

@ -11,7 +11,7 @@ import PurgeIcons from 'vite-plugin-purge-icons'
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: ['@vueuse/nuxt', 'nuxt-windicss', '@nuxt/image-edge', '@pinia/nuxt'],
modules: ['@vueuse/nuxt', 'nuxt-windicss', '@nuxt/image', '@pinia/nuxt'],
ssr: false,
router: {

2
packages/nc-gui/tsconfig.json

@ -16,7 +16,7 @@
"unplugin-icons/types/vue",
"nuxt-windicss",
"vite/client",
"@nuxt/image-edge"
"@nuxt/image"
]
},
"exclude": ["node_modules", "dist", ".output"]

Loading…
Cancel
Save