diff --git a/app/angular/src/client/preview/index.ts b/app/angular/src/client/preview/index.ts index e37a283bd46..e2d014eeece 100644 --- a/app/angular/src/client/preview/index.ts +++ b/app/angular/src/client/preview/index.ts @@ -1,6 +1,6 @@ /* eslint-disable prefer-destructuring */ import type { ClientStoryApi, Loadable } from '@storybook/addons'; -import { start } from '@storybook/core/client'; +import { start } from '@storybook/core'; import './globals'; import { renderToDOM, render } from './render'; import decorateStory from './decorateStory'; diff --git a/app/ember/src/client/preview/index.ts b/app/ember/src/client/preview/index.ts index b2642044a9f..b85ad89f975 100644 --- a/app/ember/src/client/preview/index.ts +++ b/app/ember/src/client/preview/index.ts @@ -1,4 +1,4 @@ -import { start } from '@storybook/core/client'; +import { start } from '@storybook/core'; import './globals'; import { renderToDOM } from './render'; diff --git a/app/html/src/client/preview/index.ts b/app/html/src/client/preview/index.ts index 7838f55b09f..decfcb1ee96 100644 --- a/app/html/src/client/preview/index.ts +++ b/app/html/src/client/preview/index.ts @@ -1,5 +1,5 @@ /* eslint-disable prefer-destructuring */ -import { start } from '@storybook/core/client'; +import { start } from '@storybook/core'; import type { ClientStoryApi, Loadable } from '@storybook/addons'; import { HtmlFramework } from './types-6-0'; diff --git a/app/preact/src/client/preview/index.ts b/app/preact/src/client/preview/index.ts index b15e21d72ee..922e284a6e9 100644 --- a/app/preact/src/client/preview/index.ts +++ b/app/preact/src/client/preview/index.ts @@ -1,5 +1,5 @@ /* eslint-disable prefer-destructuring */ -import { start } from '@storybook/core/client'; +import { start } from '@storybook/core'; import type { ClientStoryApi, Loadable } from '@storybook/addons'; import './globals'; diff --git a/app/react/src/client/preview/index.tsx b/app/react/src/client/preview/index.tsx index 4f47993c671..9847e6da204 100644 --- a/app/react/src/client/preview/index.tsx +++ b/app/react/src/client/preview/index.tsx @@ -1,5 +1,5 @@ /* eslint-disable prefer-destructuring */ -import { start } from '@storybook/core/client'; +import { start } from '@storybook/core'; import { ClientStoryApi, Loadable } from '@storybook/addons'; import './globals'; diff --git a/app/server/src/client/preview/index.ts b/app/server/src/client/preview/index.ts index 4bedb816a6c..9395dfb9810 100644 --- a/app/server/src/client/preview/index.ts +++ b/app/server/src/client/preview/index.ts @@ -1,4 +1,4 @@ -import { start } from '@storybook/core/client'; +import { start } from '@storybook/core'; import type { ClientStoryApi, Loadable } from '@storybook/addons'; import './globals'; diff --git a/app/svelte/src/client/preview/index.ts b/app/svelte/src/client/preview/index.ts index 59d9b39f39b..3c9f195dd5e 100644 --- a/app/svelte/src/client/preview/index.ts +++ b/app/svelte/src/client/preview/index.ts @@ -1,4 +1,4 @@ -import { start } from '@storybook/core/client'; +import { start } from '@storybook/core'; import { decorateStory } from './decorators'; import './globals'; diff --git a/app/vue/src/client/preview/index.ts b/app/vue/src/client/preview/index.ts index 7002a27b58b..0d894499697 100644 --- a/app/vue/src/client/preview/index.ts +++ b/app/vue/src/client/preview/index.ts @@ -1,5 +1,5 @@ /* eslint-disable prefer-destructuring */ -import { start } from '@storybook/core/client'; +import { start } from '@storybook/core'; import type { ClientStoryApi, Loadable } from '@storybook/addons'; import './globals'; diff --git a/app/vue3/src/client/preview/index.ts b/app/vue3/src/client/preview/index.ts index f37473e1329..912dc4bf791 100644 --- a/app/vue3/src/client/preview/index.ts +++ b/app/vue3/src/client/preview/index.ts @@ -1,5 +1,5 @@ import type { App } from 'vue'; -import { start } from '@storybook/core/client'; +import { start } from '@storybook/core'; import type { ClientStoryApi, Loadable } from '@storybook/addons'; import './globals'; diff --git a/app/web-components/src/client/preview/index.ts b/app/web-components/src/client/preview/index.ts index aeb08b3bc3d..ef8fe1cc37e 100644 --- a/app/web-components/src/client/preview/index.ts +++ b/app/web-components/src/client/preview/index.ts @@ -1,5 +1,5 @@ /* eslint-disable prefer-destructuring */ -import { start } from '@storybook/core/client'; +import { start } from '@storybook/core'; import type { ClientStoryApi, Loadable } from '@storybook/addons'; import './globals'; diff --git a/docs/snippets/common/storybook-client-preview.ts.mdx b/docs/snippets/common/storybook-client-preview.ts.mdx index 436d862dc8a..765d8d1ab34 100644 --- a/docs/snippets/common/storybook-client-preview.ts.mdx +++ b/docs/snippets/common/storybook-client-preview.ts.mdx @@ -1,7 +1,7 @@ ```ts // your-framework/src/client/preview/index.ts -import { start } from '@storybook/core/client'; +import { start } from '@storybook/core'; import './globals';