I'm all in on Nuxt. Every day a school day!
PS. Check DMs
Posts by Dave Stewart
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
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...
About extension layers...
See? I even made it rhyme π
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
It turned out it was just that monitor model. I sent it back and got a different one
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?
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
It's the old "show don't tell" thing really.
You know what it is, I don't.
A video would be worth a 1000 words...
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!
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! π
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...
Here it is!
www.youtube.com/watch?v=w2wo...
(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".
Bluesky is still a ghost town for me.
How do I change that?
Thanks for making it through the whole article!!
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!
@egoist.dev β what organisational tools does chatwise.app have? Can I organise past chats into groups, for example?
I love it when emojis tell a story!
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
Wonderful! Thanks
@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...
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
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 π
What a glowing review! π₯Thank you π
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
And in WebStorm you can use LESS, then customise the Identifier token to change the text color π₯
TIL that you can nicely-color folder structures in Linear using Swift syntax π₯: