Hugo
Hugo
Explore posts from servers
NNuxt
Created by Hugo on 1/5/2025 in #❓・help
Nuxt ui Custom Color doesn't work
Okay, thank you, i didn't saw this line. By the way, do you ave any idea, why tailwind don't create css variables when i define it as variable ? I would like to uses my colors as css variable but tailwind (via Nuxt/Ui i guess) transform my variable directly to rgba color
9 replies
NNuxt
Created by Hugo on 1/3/2025 in #❓・help
nuxt/ui tailwind intellisense not working
1. Nuxt ui v3 use the alpha version of tailwind v4, so it doesn't use a realse but an alpha (its written in this documentation: https://ui3.nuxt.dev/getting-started/theme ("Nuxt UI v3 uses Tailwind CSS v4 beta, you can read the prerelease documentation for more information.") 2. just answered before 3. it's not a standard approach but lot of users had this issue and on github of tailwind solved with this, since tailwind v4 is till in alpha, maybe it's a workaround, waiting for the release and a stable solution. On tailwind v4 there is no more tailwind.config.ts or .js everything is setup in the main.Scss file @kapa.ai
24 replies
NNuxt
Created by Hugo on 1/3/2025 in #❓・help
nuxt/ui tailwind intellisense not working
@kapa.ai i found how to fix that. To make Tailwind intellisense works with tailwind v4 and nuxt ui v3 you have to add in your workspace settings this line: "tailwindCSS.experimental.configFile": "./assets/css/main.css", the goal is to set ad config fail your main.css file where you define all your new tailwind settings
24 replies
NNuxt
Created by Hugo on 1/3/2025 in #❓・help
nuxt/ui tailwind intellisense not working
@kapa.ai i did everything you told me and it still not works. Maybe because nuxt/ui uses tailwind v4 and tailwind intellisense doesn't maybe work with tailwind v4 ?`
24 replies
NNuxt
Created by Hugo on 1/3/2025 in #❓・help
nuxt/ui tailwind intellisense not working
@kapa.ai i added the settings for vscode you gave me. i restarted vscode and nothing changed. here is my tailwind.config.ts
import type { Config } from 'tailwindcss'
import typography from '@tailwindcss/typography'
import { utilities } from './plugins/tailwind/utilities'
import designSystem from './tailwind.ds'

export default <Partial<Config>>{
darkMode: 'class',

content: [
'./pages/**/*.{vue,js}',
'./components/**/*.{vue,js}',
'./layouts/**/*.{vue,js}',
'./assets/**/*.{vue,scss}', // Prendre en compte les fichiers SCSS
],
theme: {
extend: {
container: {
center: true,
padding: "1rem",
},
fontFamily: {
'primary': ['Space Grotesk', 'sans-serif']
},
padding: {
'1/5': '50%',
},
transitionTimingFunction: {
bounce: 'cubic-bezier(.6,2.7,.8,.8)'
},
boxShadow: {
"offer-card": "0px 0px 15px 0px rgba(0,0,0,0.15)",
}
},
},
plugins: [
utilities,
designSystem,
typography,
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
],
}
import type { Config } from 'tailwindcss'
import typography from '@tailwindcss/typography'
import { utilities } from './plugins/tailwind/utilities'
import designSystem from './tailwind.ds'

export default <Partial<Config>>{
darkMode: 'class',

content: [
'./pages/**/*.{vue,js}',
'./components/**/*.{vue,js}',
'./layouts/**/*.{vue,js}',
'./assets/**/*.{vue,scss}', // Prendre en compte les fichiers SCSS
],
theme: {
extend: {
container: {
center: true,
padding: "1rem",
},
fontFamily: {
'primary': ['Space Grotesk', 'sans-serif']
},
padding: {
'1/5': '50%',
},
transitionTimingFunction: {
bounce: 'cubic-bezier(.6,2.7,.8,.8)'
},
boxShadow: {
"offer-card": "0px 0px 15px 0px rgba(0,0,0,0.15)",
}
},
},
plugins: [
utilities,
designSystem,
typography,
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
],
}
24 replies
NNuxt
Created by Hugo on 1/2/2025 in #❓・help
nuxtui tailwind plugin
@kapa.ai Do you know how to create tailwind plugin with tailwind v4 ? and import it using @plugin directive ?
30 replies
NNuxt
Created by Hugo on 1/2/2025 in #❓・help
nuxtui tailwind plugin
@kapa.ai when instlaling nuxt/ui should i add something to my nuxt.config.ts ?
30 replies
NNuxt
Created by Hugo on 1/2/2025 in #❓・help
nuxtui tailwind plugin
@kapa.ai my tailwind.config.ts seems to be ignored, where should i put it ?
30 replies
NNuxt
Created by Hugo on 1/2/2025 in #❓・help
nuxtui tailwind plugin
import { utilities } from './plugins/tailwind/utilities'; const defaultTheme = require('tailwindcss/defaultTheme') const typography = require('@tailwindcss/typography') const { designSystem } = require('./tailwind.ds'); module.exports = { darkMode: 'class', content: [ extend: { container:{ center:true, padding: "1rem", }, fontFamily: { 'primary': ['Space Grotesk', 'sans-serif'] }, padding:{ '1/5': '50%', }, transitionTimingFunction: { bounce: 'cubic-bezier(.6,2.7,.8,.8)' }, boxShadow:{ "offer-card": "0px 0px 15px 0px rgba(0,0,0,0.15)", } }, }, variants: { extend: {}, }, plugins: [ utilities, designSystem, require('@tailwindcss/forms'), require('@tailwindcss/typography'), require('@tailwindcss/aspect-ratio'), ], } @kapa.ai Can you convert my tailwind.config.ts to work with nuxt ui ?
30 replies
NNuxt
Created by Hugo on 1/2/2025 in #❓・help
nuxtui tailwind plugin
@kapa.ai my tailwind.config.ts seems to be ignored since there already as the tailwind.config.ts inside the nuxt/ui library
30 replies
NNuxt
Created by Hugo on 1/2/2025 in #❓・help
nuxtui tailwind plugin
my tailwind.config.ts seems to be ignored since there already as the tailwind.config.ts inside the nuxt/ui library
30 replies
NNuxt
Created by Hugo on 12/29/2024 in #❓・help
Google Place API
@kapa.ai I can't make google place api calls on localhost server. The call have to be client side.
10 replies
NNuxt
Created by Hugo on 12/10/2024 in #❓・help
Hydratation text mismatch on
@kapa.ai the option 2 did the job, but what will be the impact on setting the date on client-side only
10 replies
NNuxt
Created by Hugo on 11/2/2024 in #❓・help
Add custom font with tailwind plugin
Didn't worked @kapa.ai
10 replies
DTDrizzle Team
Created by Hugo on 9/28/2023 in #help
Mysql Syntax error executing query
Well, Thank you for all your time, i really appreciate. I understand the purpose of a reproduction repo. Because of i am to much a beginner with full stacks and mysql, i mooved to prisma that si more easy to use at level
29 replies
DTDrizzle Team
Created by Hugo on 9/28/2023 in #help
Mysql Syntax error executing query
By the way if i try to execute this query on phpmyadmin i get the same issue so i think it's a mysql issue depending on the version, but the probleme is i can't change the generated query from drizzle
29 replies
DTDrizzle Team
Created by Hugo on 9/28/2023 in #help
Mysql Syntax error executing query
i do'nt know what is a repo repo i will check on googl
29 replies
DTDrizzle Team
Created by Hugo on 9/28/2023 in #help
Mysql Syntax error executing query
29 replies