Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codeSource doesn't work #44

Closed
Flo2315 opened this issue Jun 24, 2021 · 8 comments
Closed

codeSource doesn't work #44

Flo2315 opened this issue Jun 24, 2021 · 8 comments

Comments

@Flo2315
Copy link

Flo2315 commented Jun 24, 2021

Hi 👋

It is impossible to show the source code of the component (vue 3).
Capture d’écran 2021-06-24 à 17 46 26

any idea why this is not working?

npm init @vitejs/app my-vite-app
npx sb@next init --builder storybook-builder-vite
npm run storybook

Thx

@eirslett
Copy link
Collaborator

I have seen this problem with React too. Might be related to #40.

@eirslett
Copy link
Collaborator

eirslett commented Jul 8, 2021

@Flo2315 Can you try again with the latest version of the builder, latest version of Storybook and latest version of Vite?

@yzy8366
Copy link

yzy8366 commented Jul 19, 2021

doesn't work,use lit

@yzy8366
Copy link

yzy8366 commented Jul 19, 2021

image
use 6.4.0-alpha.18

@eirslett
Copy link
Collaborator

Ok so it works with Storybook 6.4 alpha? (Maybe also with Storybook 6.3.4 or newer?)

@yzy8366
Copy link

yzy8366 commented Jul 20, 2021

6.3.4 doesn't work
6.4.0-alpha.18 work

@eirslett
Copy link
Collaborator

Ok, I suggest we wait for Storybook 6.4 then! (Or suggest that people use the alpha version). Since it works there, I think the problem is in Storybook and not in the Vite builder.

@ladislas14
Copy link

Hi,

I'm using Storybook 6.4.0-alpha.33 with Vite loader and it is impossible to show source code.

Do you face the same issue with alpha.33 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants