From 5da1246c517a91ae17b1c190cf0baf7a3f44e983 Mon Sep 17 00:00:00 2001 From: Ian VanSchooten Date: Wed, 21 Sep 2022 23:16:23 -0400 Subject: [PATCH] Add file extensions to vue imports Webpack doesn't need them, but Vite does --- code/lib/cli/rendererAssets/vue/Header.stories.js | 2 +- code/lib/cli/rendererAssets/vue/Page.stories.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/lib/cli/rendererAssets/vue/Header.stories.js b/code/lib/cli/rendererAssets/vue/Header.stories.js index af27f18a9db..8878aa5f88a 100644 --- a/code/lib/cli/rendererAssets/vue/Header.stories.js +++ b/code/lib/cli/rendererAssets/vue/Header.stories.js @@ -1,4 +1,4 @@ -import MyHeader from './Header'; +import MyHeader from './Header.vue'; export default { title: 'Example/Header', diff --git a/code/lib/cli/rendererAssets/vue/Page.stories.js b/code/lib/cli/rendererAssets/vue/Page.stories.js index fd168a48d3f..cdb1e24ba71 100644 --- a/code/lib/cli/rendererAssets/vue/Page.stories.js +++ b/code/lib/cli/rendererAssets/vue/Page.stories.js @@ -1,6 +1,6 @@ import { within, userEvent } from '@storybook/testing-library'; -import MyPage from './Page'; +import MyPage from './Page.vue'; export default { title: 'Example/Page',