UnRunDead
UnRunDead
NNuxt
Created by UnRunDead on 11/9/2024 in #❓・help
nuxt/ui: Pre-transform error: [@vue/compiler-sfc] Failed to resolve extends base type.
@kapa.ai I downgraded to node 20.18.0 and cleaned the npm cache with reinstall of the packages. Issue not resolved
10 replies
NNuxt
Created by UnRunDead on 10/31/2024 in #❓・help
How to use nitro types
Ok I found it with crossws
import type { Message, Peer } from 'crossws';
import type { Message, Peer } from 'crossws';
13 replies
NNuxt
Created by UnRunDead on 10/31/2024 in #❓・help
How to use nitro types
@kapa.ai If i do it like that then there is the following Module '"#imports"' has no exported member 'WebSocket'.ts(2305)
13 replies
NNuxt
Created by UnRunDead on 10/31/2024 in #❓・help
How to use nitro types
If i do it like that then there is the following Module '"#imports"' has no exported member 'WebSocket'.ts(2305)
13 replies
NNuxt
Created by eyJOdnJHb25uYSI6Imd2VXVwIn0= on 10/26/2024 in #❓・help
How to get TailwindCSS IntelliSense working in NuxtUI v3?
For me it looks like the following (Note: I removed all unnecessary config objects which should not be relevant to that) package.json
"dependencies": {
"@nuxt/ui": "^3.0.0-alpha.7",
},
"devDependencies":
"tailwindcss": "^4.0.0-alpha.29"
}
"dependencies": {
"@nuxt/ui": "^3.0.0-alpha.7",
},
"devDependencies":
"tailwindcss": "^4.0.0-alpha.29"
}
nuxt.config.ts
import { defineNuxtConfig } from 'nuxt/config';
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: ['@nuxt/ui']
});
import { defineNuxtConfig } from 'nuxt/config';
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: ['@nuxt/ui']
});
tailwind.config.ts
import type { Config } from 'tailwindcss';

export default {
darkMode: 'class',
content: ['./index.html', './**/*.vue'],
} satisfies Config;
import type { Config } from 'tailwindcss';

export default {
darkMode: 'class',
content: ['./index.html', './**/*.vue'],
} satisfies Config;
.vscode/settings.json
{
"tailwindCSS.experimental.configFile": "tailwind.config.ts",
"files.associations": {
"*.css": "tailwindcss"
},
"editor.quickSuggestions": {
"strings": true
},
"tailwindCSS.experimental.classRegex": [
["ui:\\s*{([^)]*)\\s*}", "[\"'`]([^\"'`]*).*?[\"'`]"],
["/\\*\\s?ui\\s?\\*/\\s*{([^;]*)}", ":\\s*[\"'`]([^\"'`]*).*?[\"'`]"]
],
"tailwindCSS.classAttributes": [
"class",
"className",
"ngClass",
"ui",
"active-class",
"inactive-class"
]
}
{
"tailwindCSS.experimental.configFile": "tailwind.config.ts",
"files.associations": {
"*.css": "tailwindcss"
},
"editor.quickSuggestions": {
"strings": true
},
"tailwindCSS.experimental.classRegex": [
["ui:\\s*{([^)]*)\\s*}", "[\"'`]([^\"'`]*).*?[\"'`]"],
["/\\*\\s?ui\\s?\\*/\\s*{([^;]*)}", ":\\s*[\"'`]([^\"'`]*).*?[\"'`]"]
],
"tailwindCSS.classAttributes": [
"class",
"className",
"ngClass",
"ui",
"active-class",
"inactive-class"
]
}
Tailwind CSS IntelliSense: v0.13.45 (pre-release)
13 replies
NNuxt
Created by eyJOdnJHb25uYSI6Imd2VXVwIn0= on 10/26/2024 in #❓・help
How to get TailwindCSS IntelliSense working in NuxtUI v3?
yeah same for me, tried also with .js and other supported tailwind config files, because in github there are some issues with v4 and typescript
13 replies
NNuxt
Created by eyJOdnJHb25uYSI6Imd2VXVwIn0= on 10/26/2024 in #❓・help
How to get TailwindCSS IntelliSense working in NuxtUI v3?
I have the same issue, read through the docs and some stack overflow posts but nothing works so far on my side. Did you have any luck?
13 replies
NNuxt
Created by UnRunDead on 7/12/2023 in #❓・help
Can't access cookie, returning undefined
I removed the flag, and now its accessible
6 replies
NNuxt
Created by UnRunDead on 7/12/2023 in #❓・help
Can't access cookie, returning undefined
Thanks @Cake, was because of the http only, I am a noob in cookies - so I thought it means its to allow the usage on http sites without certs, seems like it isn't :Yep:
6 replies
NNuxt
Created by UnRunDead on 7/12/2023 in #❓・help
Can't access cookie, returning undefined
Oh wow, thats it......
6 replies
NNuxt
Created by UnRunDead on 1/17/2023 in #❓・help
500 [vite-node] [VITE_ERROR] ....entry.mjs
Cant say it out of my mind, but let me check it out when I am home Feel free to Tag again if i forgot
5 replies