Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

vite-react-component-library-template

fentosv33MIT0.0.4TypeScript support: included

Vite template for building a React library component. TypeScript, SASS and Storybook.

vite, template, react, library, react-component, react component, storybook, sass, fentos, fentosv

readme

vite-react-component-library-template

Vite template for building a React library component. TypeScript, SASS and Storybook.

  • Vite React/TS/SASS/Storybook
  • Vite React component library build
  • Path aliases config in Vite/TS
  • React app to preview the component

WIP 🛠

TODO

  • Good docs, obviously
  • Add storybook
  • Fix build -> Vite build doesn't load SASS module. Unable to find solution, no workaround worked

v0.0.1 -> CSS module (Button.module.css) -> Not working v0.0.2 -> SCSS module (Button.module.scss) -> Not working

v0.0.3 -> CSS module (style.module.css) -> Not working v0.0.4 -> SCSS module (style.module.scss) -> Not working