M
M
maxemga2021-04-29 16:19:13
css
maxemga, 2021-04-29 16:19:13

How to use Toast in Materialize but not import it completely?

I want to use Materialize for Toasts, that is, I only need pop-up notifications from this library, and when I install Materialize via npm and include styles, everything works, but at the same time, things like Input and Button on the entire page are replaced with Materialize styles, and I don't want this.
And the question is, can I somehow use only what I need? Import only the styles I need, for example

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question