Storybook has integrated Ivy support since v6.3 and this addon is no longer needed.
This addon configures Storybook for Angular to use the new Angular Ivy renderer instead of the ViewEngine that Storybook uses by default.
This addon installs just like any other Storybook addon:
npm install --save-dev storybook-addon-angular-ivy
Then add it to your .storybook/main.js
addons field:
module.exports = {
addons: ["storybook-addon-angular-ivy"],
};
That's it! The first time you run it on a new project, the addon will run the angular compiler ngcc
on your node_modules
folder.