Comments (8)
OK, will look tonight if possible!
from presets.
Here's how it's handled in the built-in preset:
from presets.
Can confirm that Storybook changes, presumably those in storybookjs/storybook#9075 have broken the preset, both in Triconfig mode (main.js
) and ALSO in traditional configuration mode (config.js
/presets.js
).
To reproduce:
- Follow instructions in https://gist.github.com/shilman/bc9cbedb2a7efb5ec6710337cbd20c0c
- Observe no prop tables
- Run with
--debug-webpack
to show that no TS loader was added - Downgrade to
5.3.0-beta.16
and re-run, observe prop tables
from presets.
Thanks @shilman, I can take a look at this over this week - alongside the cleanup/quality work.
This is going to be part of 5.3.0?
from presets.
@mrmckeb Thank you! It's already part of 5.3 and breaking users since beta.16 😁
from presets.
Hi - I tried downgrading to 5.3.0-beta.16 but still can't see the props. Could you post a basic package.json with the last stable (non-beta) version where this is working? Even better would be a starter project where the configuration (i.e. Tri config or traditional) is clear. Thanks
from presets.
@danfinch100 follow this with beta.15
or below: https://gist.github.com/shilman/bc9cbedb2a7efb5ec6710337cbd20c0c
from presets.
Great, that works - thanks. Also, should point out that the comments i.e. 'The world's most basic button' weren't working either but are with beta.15 ... thats both:
npx -p @storybook/[email protected] sb init --story-format=csf-ts
and
yarn add @storybook/[email protected] --dev
from presets.
Related Issues (20)
- [Bug] CRA does not print eslint errors to terminal anylonger
- [Bug] CRA preset does not support ES2020 dependencies HOT 2
- Where are the tests for your presets?
- V3.2.0 works but V4.0.0 does not HOT 4
- [Bug] preset-create-react-app: Storybook config dir webpack override breaks default CRA config
- [Bug] Install @storybook/preset-scss with default storybook's bundler 'webpack4' doesn't works HOT 5
- [Bug] CRA5, [email protected] HOT 6
- [Bug] Fails in case of using custom folder structure inside /src
- [Help] Cannot find module '@babel/plugin-proposal-private-property-in-object'
- @storybook/preset-create-react-app 4.0.1 breaks Storybook HOT 4
- [Bug]: macos - Error: Cannot find module '.../node_modules/config/webpack.config' HOT 5
- [Bug] URL from readme does not exist on the website
- [Bug] ENAMETOOLONG on "preset-create-react-app@4" package installation HOT 1
- [Bug] start-storybook breaks when tsconfig.json has comments (preset-create-react-app)
- [Bug] Package dependency HOT 4
- [Bug] Confusing error message when stories folder is outside of src.
- [Bug] cannot run storybook with CRA preset version 4.1.0. HOT 1
- @storybook/react-docgen-typescript-plugin canary dependency
- [Bug] Storybook preset function `getReactScriptsPath` has bug HOT 2
- Missing license file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from presets.