vueComponent / ant-design-vue-nuxt

MIT License
72 stars 8 forks source link

Failed to resolve import "ant-design-vue/dist/antd.css" #70

Open algoriq opened 1 week ago

algoriq commented 1 week ago

"@ant-design-vue/nuxt": "^1.4.5", "ant-design-vue": "^4.2.5",

nuxt.config.ts

// https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ compatibilityDate: '2024-04-03', devtools: { enabled: true }, modules: [ '@ant-design-vue/nuxt', ], ssr: false, css: [ 'ant-design-vue/dist/antd.css', '~/app.scss', ], antd: {}, vite: { css: { preprocessorOptions: { scss: { // This will hide the warning message from console. // https://sass-lang.com/documentation/breaking-changes/legacy-js-api/ silenceDeprecations: ['legacy-js-api'], }, }, }, }, })

xuanhen2013 commented 1 week ago

version 1.4.5 -> 1.4.4

sorrry

algoriq commented 1 week ago

@xuanhen2013 Are there any plans to fix this issue or are there any workarounds?

xuanhen2013 commented 1 week ago

@xuanhen2013 Are there any plans to fix this issue or are there any workarounds?

It has been merged but not yet released.

algoriq commented 1 week ago

@xuanhen2013 ok, thanks.