Intro To Headless Wordpress With Sveltekit

screenshot of Intro To Headless Wordpress With Sveltekit
svelte

Intro to Headless WordPress with SvelteKit

Overview

The "Headless WordPress with SvelteKit" is a presentation given by Kellen Mace at the Svelte Summit conference in fall, 2021. This presentation introduces the concept of Headless WordPress, which decouples the front-end and back-end of a WordPress site. The SvelteKit app showcased in the presentation demonstrates how to utilize the WPGraphQL plugin to fetch data from a local WordPress site and integrate it with a Svelte front-end.

Features

  • Headless WordPress: The app demonstrates the concept of decoupling the front-end and back-end of a WordPress site.
  • SvelteKit: The app is built using SvelteKit, a framework for building web applications with Svelte.
  • WPGraphQL Integration: The app utilizes the WPGraphQL plugin to fetch data from a local WordPress site's GraphQL API.

Summary

The "Headless WordPress with SvelteKit" presentation introduces the concept of Headless WordPress and showcases a SvelteKit app that integrates with a local WordPress site using the WPGraphQL plugin. The app demonstrates how easy it is to fetch data from a WordPress site's GraphQL API and leverage it in a Svelte front-end.

svelte
Svelte

Svelte is a modern front-end framework that compiles your code at build time, resulting in smaller and faster applications. It uses a reactive approach to update the DOM, allowing for high performance and a smoother user experience.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.