If you used title
, meta_description
and seo
variables passed into the view these are now on the $story
as $story->title()
, $story->metaDescription()
and $story->_meta['seo']
.
Create a new DefaultAsset
class in App\Storyblok
as follows:
<?php
namespace App\Storyblok;
use Riclep\Storyblok\Asset;
use Riclep\Storyblok\Traits\CssClasses;
class DefaultAsset extends Asset
{
use CssClasses;
}
If you are accessing the $meta property on Blocks or in views then update to use $_meta.