create-react-library
create-react-library copied to clipboard
CLI for creating reusable react libraries.
Using CRA, i was able to import svg like component and inline it: ```import { ReactComponent as skip } from '../../../assets/icons/skip.svg';``` But if i try it, i will get an...
Hello. I currently work with wildcard selector to speed up writing style on css. css code like this: ```css .bar-foo { // css property } .foo-bar { // css property...
For create-react-app I used `craco` to setup postcss. Any ideas how can i implement my postcss styles around here? I had `craco.config.js` ``` const postcssFlexbugsFixes = require('postcss-flexbugs-fixes'); const autoprefixer =...
Hey, I'm trying to use a library that I developed using **create-react-library** in a Next.js application, but I'm getting this error: ``` [ error ] ./node_modules///dist/my-asset.svg 1:0 Module parse failed:...
I followed the instructions and I get this after I run `npx create-react-library`: ` √ Copying default template to D:\DCT\tasks\react-analog-clock Initializing npm dependencies. This will take a minute. - Running...
macOS 10.14.6 node v12.16.1 yarn 1.22.4 create-react-library 3.0.9 ``` ✔ Copying default template to PROJECT_DIR Initializing npm dependencies. This will take a minute. ✔ Running yarn install in root directory...
Hello, I'm trying to create an npm package using your awesome library, in create-react-app for enforcing strict linting of js & css, using webpack I made sure the lint rules...
Hi there! I'm using the SCSS in my components library, and willing to export it with the build so I can reuse the SCCS in the main app Is it...
When I install my library in an application. It doesn't automatically generated a dist folder in node_modules. Is there a way to do this? Or do I have to commit...
I'm getting this error trying to import my package into an existing project. I've made sure the common library has react and other libs in their peer dependencies which is...