Skip to content

Tool for creating custom fieldtypes for Storyblok with babel, browserify and hotreload

Notifications You must be signed in to change notification settings

storyblok/storyblok-fieldtype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Storyblok Field-Type

A Storyblok Field-Type Plugin Starter Project

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

In the browser, you will see the white screen with the following error in the console:

[Vue warn]: Error in created hook: "SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin 'null//app.storyblok.com' in a call to 'postMessage'."

DOMException: Failed to execute 'postMessage' on 'Window': Invalid target origin 'null//app.storyblok.com' in a call to 'postMessage'.

But don't worry, this project is just a template and only works as part of the storyblok app. See: https://www.storyblok.com/docs/plugins/enable-local-dev-mode

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

https://www.storyblok.com/docs/Guides/Creating-a-field-type-plugin#how-to-develop-plugins-locally

About

Tool for creating custom fieldtypes for Storyblok with babel, browserify and hotreload

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published