Nathan
Nathan
NNuxt
Created by Nathan on 11/6/2024 in #❓・help
Can't use import from "from '#ui/types' "
i can give you acces to my repo if you want, send me a dm if you need
30 replies
NNuxt
Created by Nathan on 11/6/2024 in #❓・help
Can't use import from "from '#ui/types' "
yea and i dont know why
30 replies
NNuxt
Created by Nathan on 11/6/2024 in #❓・help
Can't use import from "from '#ui/types' "
No description
30 replies
NNuxt
Created by Nathan on 11/6/2024 in #❓・help
Can't use import from "from '#ui/types' "
already tried and i still got the same issue
30 replies
NNuxt
Created by Nathan on 11/6/2024 in #❓・help
Can't use import from "from '#ui/types' "
sure :
// https://nuxt.com/docs/api/configuration/nuxt-config
import * as path from 'path';

// eslint-disable-next-line no-undef
export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
devtools: { enabled: true },
ui: {
global: true
},

alias: {
// eslint-disable-next-line no-undef
'@shared': path.resolve(__dirname, '../shared/src'),
},
build: {
transpile: ['@nuxt/ui']
},

modules: ['@nuxt/ui']
});
// https://nuxt.com/docs/api/configuration/nuxt-config
import * as path from 'path';

// eslint-disable-next-line no-undef
export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
devtools: { enabled: true },
ui: {
global: true
},

alias: {
// eslint-disable-next-line no-undef
'@shared': path.resolve(__dirname, '../shared/src'),
},
build: {
transpile: ['@nuxt/ui']
},

modules: ['@nuxt/ui']
});
30 replies
NNuxt
Created by Nathan on 11/6/2024 in #❓・help
Can't use import from "from '#ui/types' "
in the ide
30 replies
NNuxt
Created by Nathan on 11/6/2024 in #❓・help
Can't use import from "from '#ui/types' "
im using webstorm, and ive tried it also
30 replies
NNuxt
Created by Nathan on 11/6/2024 in #❓・help
Can't use import from "from '#ui/types' "
yup but its not what i want to do lmao
30 replies
NNuxt
Created by Nathan on 11/6/2024 in #❓・help
Can't use import from "from '#ui/types' "
Hi, thanks for the response, ive just tried it and i still got the issue 😅
30 replies
NNuxt
Created by Nathan on 11/6/2024 in #❓・help
Can't use import from "from '#ui/types' "
Of course i tried everything the ai told me 🤖 . Can anyone help please ?
30 replies