storybook-addon-i18n
storybook-addon-i18n copied to clipboard
Documentation Request/ Trouble getting addon to work with main.js setup
I have a main.js
instead of a config.js
for storybook. My main.js
appears to be a commonjs file, and I am a javascript beginner having trouble understanding how to use your module code in my storybook.
I think this would be a helpful addition to the storybook documentation, and if there's a general way of dealing with commonjs vs modules issues, it would be a great aside for beginners.
This is related, but not the whole story: https://github.com/storybookjs/storybook/blob/master/MIGRATION.md#to-mainjs-configuration
The plugin is deprecated, see the README for a modern approach to doing what it set out to do.