Pagination And Sass Support
In this episode we are going to learn how to paginate our post list and how to add Sass support to our Svelte, Sapper and WordPress application.
We are currently getting ten posts on our Sapper homepage, however in the real world that number would most probably be much higher, our WordPress site might have even hundreds or thousands of posts, and of course, we don’t want to show all of those posts on our homepage. So, best way to handle that would be pagination, and that is what we are going to be doing in this episode of creating Svelte, Sapper and WordPress site.
Also I’m going to show you how you can add Scss/Sass support to your Sapper project.