P
P
postya2020-06-18 09:31:09
css
postya, 2020-06-18 09:31:09

How can I change the css in the library that my netlify application uses?

There is an application on Vue js.
In the application, I used the vue toast notification library. Since I didn't like how these messages look, I edited their css in the library files. in the node_modules folder, I found the folder with the library and there I was already looking for where these css selectors are located. When developing on localhost, the changes were applied and everything suited me

. When I deployed the application on netlify, the toast notification changes were not saved and remained standard
. How can I make changes in the application library also be in production on Netlify?

The commands that I ran using the cli on my computer:

-npm run build
-npm add.
-npm commit
-netlify build
-netlify deploy --prod

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex, 2020-06-18
@postya

  • Fork the library, modify and use in the project
  • Override Library Properties - Native
  • Write to the author of the library about the possibility of customization

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question