Run TSDX and either Storybook or the Playground
-
yarn start
to run TSDX -
yarn storybook
to run Storybook -
cd example
andyarn start
to run the Playground
Calculates the real cost of your library using size-limit with npm run size
and visulize it with npm run analyze
.
There are many ways to ship styles, including with CSS-in-JS. TSDX has no opinion on this, configure how you like.
For vanilla CSS, you can include it at the root directory and add it to the files
section in your package.json
, so that it can be imported separately by your users and run through their bundler's loader.
We recommend using np.