A Storyblok plugin to load stories as source of dropdown.
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
.
# 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.
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