Skip to content

Commit

Permalink
Merge pull request #22201 from storybookjs/feat/fix-lit-vite-sandboxes
Browse files Browse the repository at this point in the history
Build: Fix lit sandboxes
  • Loading branch information
yannbf authored and shilman committed Apr 24, 2023
1 parent 442bd65 commit 94afe49
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions code/lib/cli/src/sandbox-templates.ts
Expand Up @@ -310,7 +310,8 @@ const baseTemplates = {
},
'lit-vite/default-js': {
name: 'Lit Vite (JS)',
script: 'yarn create vite . --template lit',
script:
'npm create vite@latest --yes . -- --template lit && echo "export default {}" > vite.config.js',
expected: {
framework: '@storybook/web-components-vite',
renderer: '@storybook/web-components',
Expand All @@ -321,7 +322,8 @@ const baseTemplates = {
},
'lit-vite/default-ts': {
name: 'Lit Vite (TS)',
script: 'yarn create vite . --template lit-ts',
script:
'npm create vite@latest --yes . -- --template lit-ts && echo "export default {}" > vite.config.js',
expected: {
framework: '@storybook/web-components-vite',
renderer: '@storybook/web-components',
Expand Down

0 comments on commit 94afe49

Please sign in to comment.