Episode 01 • Creating Svelte, Sapper and WordPress Website

Fetching The Posts

In this first part of the "Creating Svelte, Sapper and WordPress Website" series we are going to connect to our WordPress API to fetch the posts and display them on our homepage

In this series I'm going to shoow you how to create a headless website using Sapper framework that is based on Svelte. We have already taken a brief look at the Sapper framework, but in this series we are gonna take a deep dive into the framework and try to create a fully functioning headless web site using WordPress as our backend and Svelte and Sapper as our frontend.

In this first episode we are going to connect to our WP REST API and fetch the posts from it. Then we are going to display them in our Svelte app.

Download code

Wanna ask a question about this video?

Like This Video?

Consider supporting me on Patreon.

...or you can share this video, that also helps ;)

  • Episode 01 • Duration 12:46

    Fetching The Posts

  • Episode 02 • Duration 16:44

    Post Details And Environment Variables

  • Episode 03 • Duration 20:53

    Pagination And Sass Support

  • Episode 04 • Duration 22:15

    Handling Categories

  • Episode 05 • Duration 28:50

    Refactoring - Making It SSR Ready

  • Episode 06 • Duration 15:25

    Navigation And Pages

  • Episode 01 • Duration 12:46

    Fetching The Posts

  • Episode 02 • Duration 16:44

    Post Details And Environment Variables

  • Episode 03 • Duration 20:53

    Pagination And Sass Support

  • Episode 04 • Duration 22:15

    Handling Categories

  • Episode 05 • Duration 28:50

    Refactoring - Making It SSR Ready

  • Episode 06 • Duration 15:25

    Navigation And Pages