Merged in feature/SW-3245-move-jsontohtml (pull request #2661)
Feature/SW-3245 move jsontohtml * wip * Move JsonToHtml -> design-system * Fix semantic issues within Stories * replace imports of 'storybook/react-vite' with 'storybook/nextjs-vite' * merge Approved-by: Anton Gunnarsson
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { dirname, join } from 'path'
|
||||
import type { StorybookConfig } from '@storybook/react-vite'
|
||||
import type { StorybookConfig } from '@storybook/nextjs-vite'
|
||||
|
||||
const config: StorybookConfig = {
|
||||
stories: ['../lib/**/*.mdx', '../lib/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
|
||||
@@ -11,7 +11,7 @@ const config: StorybookConfig = {
|
||||
getAbsolutePath('@storybook/addon-a11y'),
|
||||
],
|
||||
framework: {
|
||||
name: getAbsolutePath('@storybook/react-vite'),
|
||||
name: getAbsolutePath('@storybook/nextjs-vite'),
|
||||
options: {},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { withThemeByClassName } from '@storybook/addon-themes'
|
||||
|
||||
import type { Preview, ReactRenderer } from '@storybook/react-vite'
|
||||
import type { Preview, ReactRenderer } from '@storybook/nextjs-vite'
|
||||
|
||||
import '../lib/fonts.css'
|
||||
import '../lib/style.css'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { setProjectAnnotations } from '@storybook/react-vite'
|
||||
import { setProjectAnnotations } from '@storybook/nextjs-vite'
|
||||
import * as previewAnnotations from './preview'
|
||||
|
||||
setProjectAnnotations([previewAnnotations])
|
||||
|
||||
Reference in New Issue
Block a user