React original vs built

58 Views Asked by At

When I build the original project using yarn build, the output is little bit different than the original project. You can see in the images that the images are of different sizes and the text next to it is wrapped. Can you help me solve this problem.

I am using these frameworks(or libraries)

  1. React
  2. React Router DOM
  3. Node Sass
  4. React Reveal

Source Code: Shop App

Build version of Project Build version of React app

Original Project Original Project

1

There are 1 best solutions below

1
On

It is probably your webpack configurations. If the links to your css files, index.scss especially are not correct, they will not be included and will lead to improper built.