Jonathan Schneider πŸ”₯ (@JonathanSchndr) header
Jonathan Schneider πŸ”₯ (@JonathanSchndr) profile picture

Frontend dev from Germany πŸ‡©πŸ‡ͺ Certified Vue.js developer. I share what's new in Vue, Nuxt, Vite, Tailwind & the web platform, with live demos you can copy.

Hannover, Germany
Joined August 2009
Photo by Jonathan Schneider πŸ”₯ (@JonathanSchndr)Photo by Jonathan Schneider πŸ”₯ (@JonathanSchndr)Photo by Jonathan Schneider πŸ”₯ (@JonathanSchndr)Photo by Jonathan Schneider πŸ”₯ (@JonathanSchndr)Photo by Jonathan Schneider πŸ”₯ (@JonathanSchndr)Photo by Jonathan Schneider πŸ”₯ (@JonathanSchndr)Photo by Jonathan Schneider πŸ”₯ (@JonathanSchndr)Photo by Jonathan Schneider πŸ”₯ (@JonathanSchndr)Photo by Jonathan Schneider πŸ”₯ (@JonathanSchndr)Photo by Jonathan Schneider πŸ”₯ (@JonathanSchndr)
Dark mode for a plain page is one CSS line, no media query. Same page in Chrome with dark mode on. Without it: white page, white inputs. With :root { color-scheme: light dark; } the browser paints background, text, form fields and scrollbars dark.
1
1
33
For your own colors, light-dark() picks one of two values: color: light-dark(#1f2937, #e5e7eb); It follows the used color-scheme, so a Vue theme toggle only has to set color-scheme on <html>. Baseline since May 2024. Are you still writing prefers-color-scheme blocks?
14
I built a tiny article page where the photo arrives 1.5 s late. In headless Chrome at phone width, the text jumped 197px when it loaded: CLS 0.106 (good is 0.1 or less). One change, CLS 0: <img src="photo.jpg" width="1200" height="675" alt="…">
1
24
Why: browsers turn width/height into aspect-ratio: auto 1200 / 675, so with img { max-width: 100%; height: auto; } the box is reserved before the file arrives. Unknown sizes? aspect-ratio: 16 / 9 on the wrapper. NuxtImg width/height props do the same. Do you check CLS in CI?
9
Nitro v3 RC from @nitrojsdev is out, and my favorite part: you can skip the build. 7 packages, a one-line config, one route file, then: npx nitro fetch /api/hello It ran my route straight from source and printed {"hello":"world"}. No dev server, no .output.
2
1
98
Why I care as a Nuxt dev: Nitro is the server engine under Nuxt, and v3 is a real cleanup. - ~4.7 MB install, 6 deps (v2: 69 MB, 338) - Vitest route tests via serverFetch(), no running server - nitro serve runs prod from source - nitro fetch exits 22 on 4xx/5xx, nice for CI
1
41
I took the AI-UI tell Impeccable calls "the most recognizable": a dark card with a thick purple left border and a glow. Then I fixed it with plain CSS. My demo card before: 3 findings (side-tab, dark-glow). After: 0, exit code 0. Before/after + the exact diff:
1
29
The fix is boring on purpose: - drop border-left, use a 1px hairline at 8% white - swap the glow for neutral black shadows (tight + soft) - on dark UI, lift the card with a slightly lighter surface - need a status? an 8px dot, not a stripe Where do you still use side borders?
39
Nuxt DevTools v4 is out. After upgrading, the first thing I saw wasn't a panel. It was a lock screen. v4 can read your files and run commands, so it asks you to authorize the browser once per project with a 6-digit code from your terminal. Good default.
2
1
53
To try it you need Nuxt 4.5+ (Vite 8). Nuxt 4 still bundles v3, so add a package.json override to ^4.0.0 (snippet in the image), delete the lockfile, reinstall. The floating Nuxt button is gone. Nuxt is now a group in the Vite DevTools dock, next to Vue DevTools and Inspect.
1
20
You can spot an AI-built landing page in two seconds: Inter everywhere, purple gradient text, glowing cards with a thick left border, an icon tile above every heading. Impeccable turns those tells into 62 lint rules. No LLM, no API key: npx impeccable detect src/
1
22
I built a demo page the way AI would. One scan: 13 findings. Side-tab border, gradient text, glow, nested cards, eyebrow label, Inter, purple palette, a skipped h1 to h3. Scans live URLs too. Apache 2.0, by @pbakaus. Which tell do you see most? github.com/pbakaus/impeccabl…
2
51
A heading that leaves one lonely word on the last line makes a whole page look unfinished. One line of CSS fixes it: h1, h2, h3 { text-wrap: balance; } The browser evens out the line lengths. Chrome, Firefox and Safari all support it.
1
41
For paragraphs there's text-wrap: pretty. It only reworks the end so you don't get a one-word last line. Chrome + Safari 26, Firefox wraps normally. Balance only works on short blocks (about 6 lines in Chrome), so keep it on headings. Do you set these in your base styles?
1
42
The Nuxt 4.6 change I'd try first in a big app: @nuxt_js rebuilt typed $fetch. Past a few hundred API routes the old types hit TS2589. Now it's built on fetchdts and scales with call sites, not routes (3000 routes: 53.6s down to 0.62s). It also type-checks the body you send.
1
1
36
It's opt-in on Nuxt 4 and the default in Nuxt 5: experimental: { routeTypedFetch: true } One gotcha: a Date returned by a handler is a string at the call site. 4.6.3 also shipped today with 5 security fixes. Would you turn this on in an existing app? nuxt.com/blog/v4-6
18
You might not need <Transition> for enter animations in Vue anymore. CSS @starting-style gives an element a "before" state the moment it's inserted, so a plain v-if just fades and slides in. Chrome, Firefox and Safari support it. Leave animations still need <Transition>.
30
Most AI-generated landing pages share the same tells: an eyebrow label above every heading, tracked capital labels, one colored word in the headline. Hallmark is an open-source design skill for Claude Code, Cursor and Codex that lints for exactly those, in a real browser.
2
1
86
It deals 3 of 48 themes, builds the hero first, checks the page at 8 widths, and has an audit mode for pages you already have: npx skills add nutlope/hallmark -g /hallmark audit ./index.html MIT, by Together AI. Which AI-UI tell bugs you most? github.com/Nutlope/hallmark
1
24
You can animate <details> open and closed in pure CSS. No JS, no max-height hack. interpolate-size: allow-keywords lets block-size transition to auto, and ::details-content is the box you animate. Chrome and Edge animate it, other browsers just open instantly. Safe to ship.
29
TypeScript 7.1 beta lets ambient module declarations match import attributes, not file extensions. declare module "*" with { type: "css" } gives every CSS import a typed CSSStyleSheet, and forgetting the "with" becomes a type error. Try it: npm i -D typescript@beta
1
1
51
πŸ‘πŸ‘πŸ‘
We are joining @Cloudflare I’m deeply grateful for this opportunity, and thank you so much for your support over the years.
40
Hey @elonmusk - My sled is not yet adapted to the Model Y 2025, I am outragedπŸ˜†
40
Excited to share that I'm now a certified Vue.js developer! πŸŽ‰ Thanks to @Certificatesdev for the great course & exam. πŸ™Œ #JavaScript #webdev certificates.dev/c/9d67d93a-…
1
78
I am going to watch the Nuxt experts sharing their knowledge at the biggest Nuxt online conference @NuxtNation for FREE. Claim your own ticket nowπŸ‘‡πŸ» nuxtnation.com/badge/RtNip9j… #NuxtNation24 #NN24Ticket
2
43
πŸš€ Ready to level up my Vue.js skills with the vueschool.io subscription! Check out their #vuejs courses via @VueSchool_io
2
45
Even though I'm posting this to get a 35% off coupon, I cant avoid saying it's freaking cool: lo.cafe/notchnook
35
MagSafe at the inside of a MacBook to charge the AirPods or iPhone would be so great 🀩 #Apple
1
2
120