Using the Load function in SvelteKit to display a blog post list from an API with Markdown

Опубликовано: 20 Октябрь 2024
на канале: David Parker
3,733
36

Displaying our list of blog posts is a simple first step to building out a real application. Blogs are one of the most common application out there, and displaying a list of objects is standard in any application. This episode goes through the complete steps necessary to display out posts.

🤯 Support on Patreon
  / davidwparker  
https://www.buymeacoffee.com/davidwpa...

⏱️ Timestamps:
00:00 - Introduction
00:28 - Demo and Readme
01:45 - new packages
02:20 - classes for markdown in app.html
03:20 - Changes in index.html to display posts

💌 Newsletter:
https://www.programmingtil.com/

🪐Elsewhere:
Twitter:   / davidwparker  
Twitter:   / programmingtil  
GitHub: https://github.com/davidwparker

💭Concepts:
Using markdown to display blog posts

```
npm i snarkdown --save
npm i @tailwindcss/line-clamp --save
```

📚Resources:
https://github.com/davidwparker/progr...

🎬 Subscribe!
http://bit.ly/subdavidwparker

My name is David W Parker and I’m creating and publishing videos on ProgrammingTIL to help teach anyone and everyone who wants to code. I’m a huge fan of Ruby on Rails, Svelte, TailwindCSS, and WebGL. I’ve used React a lot in the past, as well as some Vue and AngularJS. I’ve done some professional Python and Django. I like to create real applications and my tutorials will walk you through how to build something real from beginning-to-end.

#svelte #sveltekit