We combine material-ui framework with webpack for further work
Come back
24

We combine material-ui framework with webpack for further work

Who works with webpack or just knows it, I will give you ways to add it to webpack.

To work with the framework material-ui you will need to install two main modules for now:


Next, install a few more modules in webpack, if they are not there:


Everything is now possible to work with js code and apply standards es2015, react for writing js code.

For further work in webpack, we will write in presets these standards while compiling js files:


Everything is now possible to work with the framework.

When viewing the error console, you will get a message about "Download the React DevTools for a better development experience"

Add a plugin to webpack to hide this message:


created:
18.12.2020
updated:
15.11.2022
author:
admin
Tags
yandex metrika