You may not ACTUALLY understand Content Collections…

You may not ACTUALLY understand Content Collections…

Coding in Public

8 месяцев назад

10,425 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@ursochurrasqueira
@ursochurrasqueira - 05.01.2024 04:44

10/10 content, never thought relations are viable in markdown

Ответить
@shiningdawn7871
@shiningdawn7871 - 23.11.2023 08:03

Thank you for this video, ive spent hours trying to figure out why my astro wasnt building images from the frontmatter, works now, cheers

Ответить
@moneyfr
@moneyfr - 12.11.2023 04:40

do you know how use markdoc on astro ?

Ответить
@jlkinley
@jlkinley - 07.11.2023 06:37

Thank you so much for this content. Well done. I know that you sing the praises of these content collections, but why am I having a tough time getting my head around multiple json files in a directory vs one json file? It seems to me for certain things, one file is easier to manage. This is really making me rethink content collections. I guess for one thing, without the content collections you'd lose that ability to reference other collections.

Ответить
@CookingForAlba-qh8nq
@CookingForAlba-qh8nq - 30.10.2023 18:19

This course will be needed, quality explanations!
I'm currently converting an application from Next.js -> Astro and all of the different errors are killing me as there's no help to get from stack overflow or similar.
Difficulties of developing on the frontier frameworks i guess.
Do you know how to handle sub-folders/sub-paths for your content collections?
I have a "articles" folder in the content folder filled with .mdx files , and i want to have another sub-folder in it called "performance" (content/articles/performance/*.mdx) but when i try to create a file and navigate there (test.mdx) i get:
Expected "slug" to match "[^\/#\?]+?", but got "performance/test".
Any ideas?
Thanks for all the good content!

Ответить
@ronpalmer7260
@ronpalmer7260 - 25.10.2023 07:02

This was very helpful. I'm migrating from WordPress and have 500 posts so I'm using mongodb for the posts but I like this for things like author data. I can just reference the author number provided by wordpress and have all the data be consistent without the overhead of database calls. I had actually rigged up a js file to feed constants for that purpose because when I first got started learning Astro, js, typescript, etc. I was a bit too overwhelmed to incorporate collections but they make a lot of sense now. I haven't done any serious coding for about a decade so had some catching up to do. Thanks.

Ответить
@user-vx8ee9vp4h
@user-vx8ee9vp4h - 22.10.2023 16:07

Hi .Can you give me the font of Vscode please

Ответить
@Goyo_MGC
@Goyo_MGC - 19.10.2023 16:12

Content collections are so versatile. I wonder if in a big project it would be sustainable and could somehow replace database for static content. It offload the browser render time for a longer build time which seems a great alternative. I wonder if there is a tradeoff with having a lot of files generated at build time with SSG instead of using SSR. Maybe it will cost more to host I wonder.

Ответить
@amod_rai
@amod_rai - 18.10.2023 13:11

what's going wrong when using ViewTransitions ?

Ответить
@jjaimealeman
@jjaimealeman - 18.10.2023 07:50

Absolutely SSSOOO looking forward to your upcoming course 🥰

Ответить
@aspirin02
@aspirin02 - 17.10.2023 23:08

why were you in a hurry?
i hope paid course wont be made in a hurry.
or is this because Astro is fast moving, so everything has to be fast-paced?

Ответить
@diegognoatto8706
@diegognoatto8706 - 17.10.2023 20:48

god dammit bro. i had to check if i wasnt watching the video with multiplied speed. cognitive overload bop beep bupp pow SHHHHHHHHH. ##%&*($%(¨@$

Ответить
@bynneh
@bynneh - 17.10.2023 16:22

Thanks Chris! How is your Astro course shaping up? Do you have an estimated release date?

Ответить
@unity_12
@unity_12 - 17.10.2023 16:00

It's brilliant and a very lightening tool! Will there be a video on such cms as keyStatic or Decap Cms?
Their miracle is that they immediately create md files in our project and push them to repo github.

Ответить
@DanteMishima
@DanteMishima - 17.10.2023 15:42

The explanation that I needed. Thank you Chris!

(although, I'm tired of hearing "typesafety")

Ответить