feat: add shared package to pdf templates to render in the server and client side

This commit is contained in:
Ahmed Bouhuolia
2024-11-03 17:31:17 +02:00
parent ba1d9b3f28
commit 6687db4085
18 changed files with 1006 additions and 821 deletions

View File

@@ -0,0 +1,23 @@
import type { StorybookConfig } from '@storybook/react-vite';
const config: StorybookConfig = {
stories: ['../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
'@storybook/addon-styling',
],
framework: {
name: '@storybook/react-vite',
options: {
builder: {
viteConfigPath: '.storybook/vite.config.ts',
},
},
},
docs: {
autodocs: 'tag',
},
};
export default config;