Advertisement Β· 728 Γ— 90

Posts by Dave Stewart

I'm all in on Nuxt. Every day a school day!

PS. Check DMs

1 month ago 3 0 0 0
Preview
Dave Stewart 2026 Nuxt migration of davestewart.co.uk

I finally migrated my site to Nuxt!

davestewart.co.uk/projects/per...

- Nuxt 4
- Nuxt Content
- Nuxt Content Assets
- Layers
- Full theming capability
- Instant search
- a ton of UX polish

The blog article contains a full write-up of goals + approaches with links to code

#nuxt #vue cc @nuxt.com

1 month ago 7 0 1 0
Preview
CSS scroll snap - CSS | MDN The CSS scroll snap module provides properties that let you control the panning and scrolling behavior by defining snap positions. Content can be snapped into position as the user scrolls overflowing ...

TIL that element.scrollIntoView() is superior to window.scrollTo() because it's compatible with the Scroll Snap API and takes into account things like scroll padding, scroll margin, scroll snapping, etc.

developer.mozilla.org/en-US/docs/W...

2 months ago 1 0 0 0

About extension layers...

See? I even made it rhyme 😎

4 months ago 2 0 0 0
Preview
GitHub - davestewart/wxt-module-layers: Nuxt-like layers functionality for WXT browser extensions Nuxt-like layers functionality for WXT browser extensions - davestewart/wxt-module-layers

I wrote a rather yummy WXT module; not that anyone cares πŸ˜…

github.com/davestewart/...

4 months ago 0 0 1 0
Preview
Data fetching in Nuxt Nuxt data fetching explained within the context of Nuxt's SSR lifecycle

My first article in a while – a cohesive look Nuxt's data fetching tools, within the context of Nuxt's render lifecycle; not just the "how" but the "where", "when" and "why" – mainly for my benefit!

davestewart.co.uk/blog/nuxt-da...

cc @nuxt.com

5 months ago 4 0 0 0

It turned out it was just that monitor model. I sent it back and got a different one

10 months ago 0 0 0 0
Post image

Claude wrote me some Vue code today, and added the HTML comment you see here, regarding generics.

I've never seen this before, but it called it a "generic directive" and it does seem to actually alter how the code is interpreted by TypeScript, so wondering – is this TS, Vue, or something else?

11 months ago 4 0 0 0
Post image Post image

Does anyone have any experience with IPS monitors?

I'm just testing a new Iiyama 24" QHD and whilst it's sharper than my old (non IPS) one it exhibits crazy colour shift towards the edges.

Is this normal? Anyone got any recs for something better? Ideally 24" as I have two, side to side

11 months ago 3 0 1 0
Advertisement

It's the old "show don't tell" thing really.

You know what it is, I don't.

1 year ago 2 0 0 0

A video would be worth a 1000 words...

1 year ago 1 0 2 0

Ah, that's not quite how it's playing out; the string parsing is fine. I think @brc-dd.dev managed to answer it though!

1 year ago 1 0 0 0

Thanks for the docs link!

I guess this sentence clarifies things:

"Props with Boolean type have special casting rules to mimic the behavior of native boolean attributes."

Not very Vue-intuitive, sadly, especially when passing as a value, but there we go! πŸ™

1 year ago 0 0 0 0
Vue SFC Playground

Can any clever Vue folks tell me why this Vue component error prop declared as `boolean | string` would coerce to true (bad) when an empty string is passed, but be received as a string (good) when declared as `string | boolean` ?

play.vuejs.org#eNqFUk1PwzAM...

1 year ago 1 0 2 0
Learn a Geordie accent
Learn a Geordie accent YouTube video by Holly Matthews

Here it is!

www.youtube.com/watch?v=w2wo...

1 year ago 1 1 1 0

(Only works if you know the Geordie accent...)

A lorry load of tortoises and a lorry load of terrapins collided in Newcastle today. The scene was described as a "turtle disaster".

1 year ago 2 0 1 1

Bluesky is still a ghost town for me.

How do I change that?

1 year ago 2 0 0 0

Thanks for making it through the whole article!!

1 year ago 1 0 0 0
Advertisement

The "yet" sounds hopeful! That's one my main issues with Claude; I have so many chats but no way to arrange them.

Anyway, I will give it a try!

1 year ago 0 0 0 0

@egoist.dev – what organisational tools does chatwise.app have? Can I organise past chats into groups, for example?

1 year ago 0 0 1 0
Post image

I love it when emojis tell a story!

1 year ago 4 0 0 0
Preview
View Follower Profiles and Stats in Bluesky Notifications Display new followers' profiles and stats in your Bluesky notifications feed. Quickly decide who to follow back with detailed profile insights and engagement icons.

New tool added to bskyinfo : Bluesky Follower Info by @davestewart.uk

Display follower profiles and stats directly in your Bluesky notifications feed. Quickly decide who to follow back with detailed insights.

buff.ly/VmhCZki

#blueskytools #blueskytips

1 year ago 7 2 0 0

Wonderful! Thanks

1 year ago 1 0 0 0
Preview
Bluesky Follower Info - Chrome Web Store Display users profile descriptions and stats in notifications feed and starter-packs.

@ewalf.com just to let you know the blurb for Blusky Follower Info looks to be almost completely wrong. It doesn't send emails or do any of the thing you mention in features.

Full information and features on the Chrome Web Store download page:

chromewebstore.google.com/detail/blues...

1 year ago 2 0 2 0

Anyone else finding Claude 3.7 thinking makes mountains out of molehills?

It seems particularly bad at anything involving recursion, and writes way too much code, repeats code where it shouldn't, and fails on the actual logic needed to recurse.

Had happened twice now.

Would be simpler to DIY

1 year ago 1 0 0 0

Probably. But I'm flat out on other projects at the moment. This one ended up being a bit of a time sink; I'm just happy it's still working for now πŸ‘

1 year ago 1 0 1 0

What a glowing review! πŸ”₯Thank you πŸ™

1 year ago 1 0 1 0
Post image

We had some confusion at work the other day as to when Vue refs do or don't get unwrapped in templates, specifically when objects or their values (such as composable results) are passed to child components.

I created a playground here:

play.vuejs.org#eNqVVcty2zYU...

#vue #nuxt #reactivity

1 year ago 2 0 0 0
Advertisement
Post image Post image

And in WebStorm you can use LESS, then customise the Identifier token to change the text color πŸ”₯

1 year ago 0 0 0 0
Post image

TIL that you can nicely-color folder structures in Linear using Swift syntax πŸ”₯:

1 year ago 3 0 1 0