Shadcn UI in Astro!

  Рет қаралды 5,966

Leabs

Leabs

Күн бұрын

Пікірлер: 18
@digitalguy4242
@digitalguy4242 10 ай бұрын
I am really happy, you're adding react components, i would love to see more videos on react
@nickwoodward819
@nickwoodward819 5 ай бұрын
didn't populate my global.css, but did partially break my tailwind config, presumably because I've now got a config.tailwind.mjs and .js file
@kellingtoncrivelaro3929
@kellingtoncrivelaro3929 Жыл бұрын
Don't we lose the benefit of low javascript pages using this component library with react in an astro project? I would rather to create a react project if I really want to use shadcn ui
@shadowstack
@shadowstack Жыл бұрын
yes thats true, I just wanted to share the process if someone would want to add React as an integration. One of the key benefits with Astro is making projects as simple or robust as they need to be. You can also keep using Astro as Astro after adding the integration, so if you want one portion of the site to use React you can have the rest as .astro pages and have a simple JS free workflow
@kellingtoncrivelaro3929
@kellingtoncrivelaro3929 Жыл бұрын
@@shadowstack thanks for the answer
@pedromigacz
@pedromigacz 7 ай бұрын
@@kellingtoncrivelaro3929 If you use the uninteractive components, and don't ask astro to bundle the respective react javascript, it render the html/css only! (in example, Cards, Buttons and Inputs)
@nickwoodward819
@nickwoodward819 5 ай бұрын
sure, but shadcn components tend to be interactive anyway, no?
@mroxy01
@mroxy01 11 ай бұрын
and you have now 2 tailwind.config.js & .mjs. Maybe that caused issues too?
@nickwoodward819
@nickwoodward819 5 ай бұрын
same. and you can't remove shadcn easily. crap DX tbh.
@Pratibhachoudhary-y8q
@Pratibhachoudhary-y8q 5 ай бұрын
It's not working
@codernerd7076
@codernerd7076 Жыл бұрын
But how to do Auth in Astro 😢
@shadowstack
@shadowstack Жыл бұрын
I can try this! I’ve never done auth with Astro so might be a few weeks to record a video
@TheBuddilla
@TheBuddilla Жыл бұрын
@@shadowstack lucia-auth seems like a simpler option for astro. Also it easily allows user/password auth.
@shadowstack
@shadowstack Жыл бұрын
@@TheBuddilla nice ill check it out
@ZeR0ByTe
@ZeR0ByTe Жыл бұрын
The problem with your CSS was you didn't add the correct path: Should be like this: Where is your global CSS file? › › ./src/styles/globals.css
@shadowstack
@shadowstack Жыл бұрын
Thank you, realized what happened after I recorded the video and updated the video description. Thanks for watching
@nickwoodward819
@nickwoodward819 5 ай бұрын
Did this and it still didn't populate the global.css file
Make Nested Layouts in Astro!
4:48
Leabs
Рет қаралды 1,1 М.
Working with Images in Astro
15:13
Coding in Public
Рет қаралды 9 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 15 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,6 МЛН
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 61 МЛН
UV for Python… (Almost) All Batteries Included
17:35
ArjanCodes
Рет қаралды 73 М.
This new Tailwind feature is scarier than I thought
29:13
Theo - t3․gg
Рет қаралды 39 М.
UI Libraries Are Dying, Here's Why
13:28
Theo - t3․gg
Рет қаралды 323 М.
Introducing LVGL's UI Editor (Preview of v0.1)
24:21
LVGL
Рет қаралды 3,4 М.
Astro for Impatient Devs
10:35
Isaac Harris-Holt
Рет қаралды 19 М.
Working with APIs in Astro is AMAZING!
17:04
Stefan Rows
Рет қаралды 19 М.
Astro Actions (First Look!)
13:15
Coding in Public
Рет қаралды 9 М.
This UI component library is mind-blowing
8:23
Beyond Fireship
Рет қаралды 726 М.
Astro Actions: the missing server action library
19:28
Astro
Рет қаралды 13 М.
Dynamic API Endpoints in Astro
30:59
Coding in Public
Рет қаралды 16 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 15 МЛН