Skip to content

ItemConsulting/preset-enonic-xp

Repository files navigation

Enonic XP preset for Storybook

Storybook preset for integrating with Enonic XP

npm version

Usage

Install the package in your project.

npm i --save @itemconsulting/preset-enonic-xp

Add the preset to your main.ts (or main.js) file.

import type { StorybookConfig } from "@storybook/server-webpack5";

const config: StorybookConfig = {
  addons: [
    '@itemconsulting/preset-enonic-xp'
  ],
};

export default config;

Running tests

Unit tests can be run with the following command

npm run build && node --test

About

Storybook preset for integrating with Enonic XP

Resources

License

Stars

Watchers

Forks

Packages

No packages published