elements icon indicating copy to clipboard operation
elements copied to clipboard

create-react-app 5 was just released. Do elements work with it? Of course not.

Open mpodlasin opened this issue 3 years ago • 4 comments

  1. Create react app with [email protected]
  2. Install elements in the created repo.
  3. Import API component in the app.
  4. Cry.

mpodlasin avatar Dec 15 '21 18:12 mpodlasin

Also, it's not even possible to run an older version of create-react-app, so after hours of trying, I was unable to get elements working.

ptrwtts avatar Dec 16 '21 04:12 ptrwtts

Hey.

It actually is possible. You can generate an app with [email protected]. Then you just have to change react-scripts version to 4.x.x and it works.

Hope this helps. :)

mpodlasin avatar Dec 16 '21 12:12 mpodlasin

this worked. thanks so much!

ptrwtts avatar Dec 19 '21 07:12 ptrwtts

worked for me, cheers mate!

Terkea avatar Dec 24 '21 04:12 Terkea

is there any plan to add support for version 5.X in the future?

graham-atom avatar Oct 17 '23 21:10 graham-atom