Creating Svelte, Sapper and WordPress Website Episode 2

Post Details And Environment Variables

In this episode of Creating Svelte, Sapper and WordPress sites we are going to link our post list to the details page of each post, and also learn how to setup environment variables.

Now we are going to link the post list that we created in the previous episode to the detail page of every post using Sappers dynamic routing and slugs that we get from our WordPress API. We are also going to learn how to use environmental variables to define important data that we don’t want to hard code in our Svelte app, or that may change between local and production environment.

Wanna ask a question about video?

Like This Video?

Support it by sharing it ;)

© Watch And Learn,2024