@sathishy/react_ui_component
v1.1.6
Published
#### _Run commands_
Downloads
14
Readme
Process
Run commands
Initialize Npm
$ npm init
installation command from the github-thread-link: https://github.com/storybookjs/storybook/issues/12886#issuecomment-715671477
$ npm i -D react@^16.8.0 && && npm i -D @types/react@^16.x && npm i -D react-dom^16.x && npm i -D react-is@^16.8.0 && npm i -D typescript@>=2.8.0
Initialize typescript
$ npx tsc --init
Add Storybook
$ npx storybook init
Add postcss addon for storybook
$ npm i -D @storybook/addon-postcss
Install rollup & deps for bundling
$ npm i -D rollup @rollup/plugin-node-resolve @rollup/plugin-commonjs @rollup/plugin-typescript rollup-plugin-peer-deps-external rollup-plugin-postcss rollup-plugin-terser rollup-plugin-dts
Ideas/Improvements
consume/create css similar to tailwindcss/chakra-ui with color-object/spacing/typography/etc...
add absolute/subpath imports
Try using vite instead of webpack for storybook