📨Pushing components

Step 1: Push Components & Presets

Run the following command to sync your local components and presets with your Storyblok space:

npm run storyblok:push

This will upload all components and presets located in .storyblok/components/files.

Step 2: Verify Components in Storyblok

  1. Go to your Storyblok Space.

  2. Navigate to Components (under "Content" or "Settings" depending on your setup).

  3. Check if your components appear with the expected changes.

Step 3: Ensure Presets Are Applied

  • Each component must have at least one preset.

  • Verify that presets are correctly assigned by checking the component settings.

Step 4: Add Components to Your Content

  1. Open any content entry in your space.

  2. Click "Add Block" to open the block menu.

  3. Look for your newly pushed components in the list.

    Important:

    • Always select the preset versions of the components.

    • Example data is preloaded in these presets, ensuring proper display.

Last updated