Requesting Pages

Pages in Storyblok can be requested via their slug or UUID. If using the catch-all route we do the following which returns a view:

public function show($slug = 'home')
    return Storyblok::bySlug($slug)->read()->render();

If you want to return the Page without rendering it just skip the render() method and it’ll give you the Page object which you can then manipulate or pass to a view.


Or by UUID: