You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @ndelangen
There's an open pull request for this feature #435. It does this using a middleware.js file. If we use the config.js file for middleware, it may add server side code to the javascript bundle it builds for the client.
Currently addons have access to the 'Manager App' and the 'Preview Area'.
Adding an ability to inject custom (express) middleware would open up even more opportunities for creative addon-creators.
These custom middlewares can provide storybook with new features by enabling additional data retrieval for addons.
Some data examples of data:
I don't think it's all that hard to implement via
config.js
.The text was updated successfully, but these errors were encountered: