Browse Source

chore: use @nuxt/image

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

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 // https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({ export default defineNuxtConfig({
modules: ['@vueuse/nuxt', 'nuxt-windicss', '@nuxt/image-edge', '@pinia/nuxt'], modules: ['@vueuse/nuxt', 'nuxt-windicss', '@nuxt/image', '@pinia/nuxt'],
ssr: false, ssr: false,
router: { router: {

2
packages/nc-gui/tsconfig.json

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

Loading…
Cancel
Save