create-react-library
create-react-library copied to clipboard
CLI for creating reusable react libraries.
Is it possible to add assets to the library such as fonts or images? Apparently create-react-app provides this feature in two different ways: - explicit import in your typescript /...
I created a new app using create-react-app [react-boilerplate template](https://github.com/react-boilerplate/react-boilerplate-cra-template) which uses styled-components. Imported `custom-ui-library` in the project which is also internally using styled-components. ` "custom-ui-library": "file:../../custom-ui-library", ` But getting the...
I tried forking this project and publishing a version with updated dependencies to npm. It did not work because there is an error in the `.npmignore` file which caused the...
I am adding a scss file for my component But after compiled in dist/index.css file the classname added inside my scss files get changed **SCSS :** .selected{ background-color: blue; color:...
I tried to use i18next and getting error: i18next instance is not initialized. I have another library where my i18n configuration resides and I am trying to work that out....
Hi! I'm trying to use Create React Library with [TailwindCSS](tailwindcss.com) and was wondering if there's a way to include the CSS in the bundle without having to add `import '/dist/index.css'`...
FAQ
#### How can I use SASS / Less / etc styles in my library? This is pretty straightforward -- see #56. #### Why do you use rollup over webpack? This...
I have several .svg assets in my assets folder. When I see the dist folder I see images used in the application appearing there, when I use the particular component...
I'm trying to bundle React and MUI into a library. I can't use peer dependencies because the package where this library will be used is forced to use a very...
I've tried to run create-react-library on Windows 10, but it fails ``` PS E:\javascript\controls> npx create-react-library ois-controls ? Package Name ois-controls ? Package Description Made with create-react-library ? Author's GitHub...