storybook-addon-i18n icon indicating copy to clipboard operation
storybook-addon-i18n copied to clipboard

Documentation Request/ Trouble getting addon to work with main.js setup

Open david-morris opened this issue 3 years ago • 2 comments

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.

david-morris avatar Jan 26 '22 15:01 david-morris

This is related, but not the whole story: https://github.com/storybookjs/storybook/blob/master/MIGRATION.md#to-mainjs-configuration

david-morris avatar Jan 26 '22 16:01 david-morris

The plugin is deprecated, see the README for a modern approach to doing what it set out to do.

csvan avatar Sep 30 '22 08:09 csvan