Class StoryblokLoaderConfig
java.lang.Object
com.mohamnag.jstatic.plugins.storyblok_loader.StoryblokLoaderConfig
Loads Storyblok Plugin's config from key "storyblok-loader".
Configuration parameters details:
- "https://api.storyblok.com/v2/cdn": optional, you can override API root (i.e. to a self-hosted variant). Defaults to "https://api.storyblok.com/v2/cdn"
- "token": required, a preview or public access token
- "use-draft-version": optional, whether to use draft version, defaults to
false
- "data-key": optional, name of the key under which the loaded data from Storyblok will be put for each page. Defaults to "story"
- "target-node": the root data node to put obtained pages under, default to root node. Value is a ordered list of path elements.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
StoryblokLoaderConfig
-