π€―
29.11.2024 10:01 β π 2 π 0 π¬ 0 π 0@matiasbaldanza.bsky.social
Ridiculously enthusiastic nerd π¦π· πͺπΈ My tech midlife crisis is becoming a dev again. http://twitch.tv/matiasbaldanza - http://youtube.com/@MatiasBaldanza_dev
π€―
29.11.2024 10:01 β π 2 π 0 π¬ 0 π 0Can we have Community Notes here? At least, for the lolz.
28.11.2024 03:29 β π 3 π 0 π¬ 0 π 0Oh, and updating your project from Tailwind v3 to v4, the update command will migrate your JSON Tailwind config from tailwing.config.ts to your main CSS file!
npx @tailwindcss/upgrade@next
I didn't know that I had vite@4.0.4 installed globally, so running 'vite dev' failed in my test project.
If you have an outdated vite, update it, or run using 'npm run dev' instead of 'vite dev'
I know it's pretty basic, but perhaps this saves somebody else the time I spent monkeying around π
Testing TailwindCSS 4.0.
Pretty cool, so far!
Some caveats:
- It requires Vite 5.2.0 (will fail with prior versions)
- If using vite@latest (v6) will need to force deps using --legacy-peer-deps
It was a bug with Vite 5, that required it to add rollup in optionalDependencies
20.11.2024 22:06 β π 1 π 0 π¬ 0 π 0Next: it should identify the GIF with its meme name, if any.
20.11.2024 04:08 β π 1 π 0 π¬ 0 π 0Lo mejor que puede pasar es que monetice lo antes posible. Vivimos IRL.
20.11.2024 00:23 β π 0 π 0 π¬ 0 π 0Locally, I'm on 20 and it builds.
Vercel... who knows?
I'll figure it out tomorrow.
It never ends... π€¦ββοΈ
Build runs locally, but not on Vercel.
It was react-markdown!
npm ls <name of the lib> helps see who invited who to this party.
Did I need react-markdown? I wanted to parse markdown into HTML, but it was completely unnecessary.
Moral of the story: Do not add nice-to-haves until the need-to-haves work!
Allow me to insist that the grass is greener in Next.js, even if weird things break there, from time to time. π
19.11.2024 21:22 β π 0 π 0 π¬ 1 π 0Dreams of owning a small cafe or becoming a farmer intensify...
Here we go again!
The build fails because it cannot resolve an import of "#minpath" from .../node_modules/vfile/...
Crap. Debugging these things takes precious time. Especially because vfile is not a direct import. Now I have to track down who did this (probably, Vite, but who knows? π)
Solved! The solution was not in Vite docs, but in shadcn/ui docs ui.shadcn.com/docs/install...
Path aliases need to be added 3 times:
- tsconfig.json
- vite.config.ts (manually or using vite-tsconfig-paths)
- tsconfig.app.json <-- MISSED THIS
Vite was importing ok but TS did not see the imports.
Y filtrado asΓ sale un griego espectacular.
18.11.2024 23:56 β π 0 π 0 π¬ 0 π 0SΓ!
18.11.2024 23:56 β π 1 π 0 π¬ 0 π 0Hahaha!
The issue is with a few TS configs that somehow don't work as documented.
After using Next.js for a very long time, going back to Vite and wasting time with problematic Typescript config stuff that should just work but doesnβt is likeβ¦ Iβm too old for this sh*t.
17.11.2024 04:12 β π 5 π 0 π¬ 2 π 0I wouldnβt mind seeing some Supernatural art. At all.
17.11.2024 04:08 β π 1 π 0 π¬ 0 π 0π Iβm lucky enough to be a full-time educator. I work exclusively on my blog and courses.
A couple of people have recently asked how this happened, how I made it my job. I thought Iβd share some info about my experience for anyone else hoping to become a full-time course creator / dev educator!
π THIS TWEET AGED BADLY. π
16.11.2024 20:51 β π 1 π 0 π¬ 1 π 0Language!!!
(It hasn't reached critical mass, I guess.)
Been burning the midnight oil getting everything ready for this year.
Excited to introduce our brand new platform, which weβll be using from now on for this event!
Check it out π
adventofts.com
Literally, the disintegration of Jake Paul.
Let's call it the first teletransportation without reintegration.
Have you ever been rate-limited on bsky?
16.11.2024 00:55 β π 1 π 0 π¬ 1 π 0Archived your Twitter data and don't know what to do with it? Here's a few simple steps to read it using DuckDB (duh!)
13.11.2024 21:29 β π 171 π 43 π¬ 21 π 7βHow much RAM do you need?
βYes.
Happy birthday! π
05.11.2024 11:11 β π 1 π 0 π¬ 0 π 0Congrats! Vault number? π
05.11.2024 11:11 β π 1 π 0 π¬ 0 π 0