-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Create documentation section for using TypeScript with Storybook #3270
Comments
i'll give this a crack next week edit: am getting approval to do this on company time, gimme a few days |
Probably it is time to add a label for TypeScript. |
@tsiq-swyx, Here's some grist:
*successfully: I'm on webpack 4, using the 4-compatible version of awesome-typescript-loader, which breaks on webpack 3, which is used in storybook 3. Everything (so far) works fine with storybook 4.0.0-alpha.1. I'd definitely include a webpack version caveat. |
appreciated! taking surprisingly long to get company approval, but def keen
to get started on this.
…On Fri, Mar 30, 2018 at 11:18 AM, Ed Staub ***@***.***> wrote:
@tsiq-swyx <https://github.com/tsiq-swyx>, Here's some grist:
- ***@***.***/storybook-react-typescript-
and-jest-c9059ea06fa7 (I successfully* just used this as a guide; I'm
a storybook noob)
- http://www.joshschreuder.me/react-storybooks-with-typescript/
*successfully: I'm on webpack 4, using the 4-compatible version of
awesome-typescript-loader, which breaks on webpack 3, which is used in
storybook 3. Everything (so far) works fine with storybook 4.0.0-alpha.1.
I'd definitely include a webpack version caveat.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3270 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AiT1ghPcsDg5UqQO8g2OWAVEg8ChkWFQks5tjkzBgaJpZM4S5N-b>
.
|
Hi friends, I am going to start work on this now. Appreciate the wait. |
Any chance we can get a storybook installer that follows up https://github.com/Microsoft/TypeScript-React-Starter ? I'm not looking forward to setting up Storybook with my typescript react project the first time around. |
If you are creating a issue to track work to be completed, start here:
Work summary
There is a decent amount of config needed for TypeScript to work within Storybook. We should document the TS definitions, scripts, configs, etc. needed to get all the features working.
Where to start
A new page within
/docs
is probably the best way to go.Acceptance criteria
Who to contact
I personally don't use TS but it is a widely requested topic within our GitHub issues.
The text was updated successfully, but these errors were encountered: