Sirens Streams: Headless WordPress with SvelteKit

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ต.ค. 2024
  • We have Kellen Mace from WP Engine to teach us how to integrate Headless WordPress with a SvelteKit site.

ความคิดเห็น • 8

  • @djmtype
    @djmtype ปีที่แล้ว +1

    Even migrating to Sveltekit 1.0 this video was very helpful. One thing I wanted to mention, when using the static adapter, it's probably best to use slug instead of uri when defining the link. Using uri will add a trailing slash after the slug, while slug will just return as is. So, if the user has javascript disabled, using uri instead of slug will send the user to a 404. Otherwise, you'll need to add `export const trailingSlash = 'always'` to +layout.js

    • @tedspens
      @tedspens ปีที่แล้ว +1

      Good to know, thanks! 👍

  • @markobogosavljevic3336
    @markobogosavljevic3336 2 ปีที่แล้ว

    So happy that I found this channel. Good content

  • @_the_one_1
    @_the_one_1 2 ปีที่แล้ว +2

    THANK YOU

  • @Allformyequine
    @Allformyequine 2 ปีที่แล้ว +1

    Be interesting if you or someone could show an example of using the the new 'endpoint' method too as Brittney mentioned at the end... anyone lol?? Instead of the Context Module, the shadow endpoints or just endpoints (as it's being referred to now) is shown on the Docs but it would be awesome so see it here too as a 'real life' example of that.... thank you this was great!

  • @sharangadevops3337
    @sharangadevops3337 2 ปีที่แล้ว

    What if WordPress use svelte internally instead of react.?

  • @jamieblake2835
    @jamieblake2835 2 ปีที่แล้ว

    ᵖʳᵒᵐᵒˢᵐ ?

  • @kellenmace3948
    @kellenmace3948 2 ปีที่แล้ว +5

    Code repo is here: github.com/brittneypostma/wp-blogpostma