#Jetstream

6 messages · Page 1 of 1 (latest)

narrow wing
#

Hey I'm using Jetstream with my Laravel + Intertia stack, I'd like to include the Nav bar which is called AppLayout.vue within Storybook, however I'm struggling to get this to work. I'm not sure if it's because it's such a large component - grateful for any help! Thanks

tranquil cargo
#

hi nate. could you share the error you're seeing and as much of the code as you can? if you're able to, it can be additionally helpful to see a minimal reproduction using https://storybook.new

narrow wing
#

It's my understanding that I need to create a stub for some of these to work

narrow wing
#

one thing I am really struggling with though it working with the slots within Jetsream components, e.g I have a component here -

which looks like this -

<div class="w-full sm:max-w-md mt-6 px-6 py-4 bg-white shadow-md overflow-hidden sm:rounded-lg">
<slot/>
</div>

I can get the outer part of this showing in Storybook, but I can't get the fields within it - no matter what I try!

narrow wing
#

so Storybook looks like this -