#withastro — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #withastro, aggregated by home.social.
-
New blog post: “Conditional JSX in Astro”.
https://blog.kizu.dev/conditional-jsx-in-astro/
This is me documenting the way I am handling some of the more complex conditional rendering in Astro’s JSX. Well, not strictly _JSX_ — but its “Component Template” part of `.astro` components and assigning them to variables.
-
Hey, #withastro users,
Are there any best practices, guides or similar on build setups for combining multiple astro projects in one?
I have a website with a main page (radiki.dev)
a blog (radiki.dev/blog)
and multiple subprojects ( radiki.dev/project1, radiki.dev/project2 etc)
All these share some components and CSS, but they also have their own.
I guess I can make do with Makefiles or shell scripts, I was just wondering if there is a more idiomatic solution.
-
https://prass.tech/blog/upgrading-astro-to-5/
Upgrading to Astro 5 has not been effortlessly but it was a good upgrade experience nonetheless. For a blog as small as mine the changes were minimal.
-
Apres Vite 6 https://vite.dev/blog/announcing-vite6 Voici Astro 5! https://astro.build/blog/astro-5/
-
My base experience with Lit has been OK so far, but integration with #VSCode and #WithAstro seems to be not great -- as code completion for custom properties doesn't seem to work.
The editor treats the web component as just a plain-old component, with nothing custom (and shows warnings about the properties). My searching hasn't provided a way to add extra typing info.
There are an enormous number of moving parts here .... 😖
-
Anyone here use lit.dev for HTML/web components?
(I don’t know if there’s a hashtag for it)
What’s been your experience? Anything you like better for making the experience of writing a web component just a little nicer with little overhead?
-
👋
#astrobuild
devs, we're thrilled to announce that CloudCannon's CMS support for Astro is out of beta!#withastro support includes:
⚡ Astro specific docs
👌 Astro getting started guide
✨ New Astro theme