Skip to content

A Storyblok plugin to load stories as source of dropdown.

Notifications You must be signed in to change notification settings

DominikAngerer/story-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

story-loader

A Storyblok plugin to load stories as source of dropdown.



What is localized-story-loader-flat

If you're using a folder structure like:

-- home
-- locations
--- First Location
--- Second Location

you can now directly use this plugin to access all (for example) locations in a dropdown. If you're looking for a localized version (so we would look for de or en as root folders - look for the localized-story-loader-flat.

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production
npm run build

For more information see the docs for field types.

Configuration

Story Loader configuration

You can use the "Self" property so you won't have to add a global datasource to configure this plugin

First Datasource Entry: token
Second Datasource Entry: starts_with

About

A Storyblok plugin to load stories as source of dropdown.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages