loading...

How do you set up a project with Preact?

the24thds profile image David Sima ・1 min read

Discussion

pic
Editor guide
Collapse
adrianmanea profile image
Manea Adrian

Hei David, I just recorded a video on this matter but not with preact, instead with actual react. Setting up is identical (please correct me if I'm wrong guys). I would recommend using preact though, it is significantly smaller :)

youtube.com/watch?v=9vf6zho57Gw

Hope this helps!

Collapse
the24thds profile image
David Sima Author

Thank you, Adrian! This really helped me. I was stuck using CRA and I don't think Preact has a similar tool. But now I will be able to work with Preact and React without having to use that.

Thank you again! 😁

Collapse
jovidecroock profile image
Jovi De Croock

Preact, has preact-cli it's basically the CRA of preact.

github.com/preactjs/preact-cli

Collapse
the24thds profile image
David Sima Author

I will check it out. Thank you 😃