'how to merge front end website and admin panel in reactjs
I am new in ReactJs and I've created a front end website using html template. Now I want to merge it with admin panel, I've downloaded html template and tried to combine with Front end website. But Admin's CSS are clashing with front end's CSS files
Solution 1:[1]
One solution is to implement CSS Modules, with the help of Webpack or Browserify.
CSS Modules allows the scoping of CSS by automatically creating a unique classname of the format [filename]_[classname]__[hash].
Implementing CSS Modules either in the admin panel or the front would remove the CSS style conflicts.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | rahuuzz |
