0

all! I currently met a difficulty with my project. I want to modify the code of a component from a UI library (like Semantic-UI, Material-UI). What I do now is just edited the code from the node_modules. But the reality is no matter how I change the code from node_modules, my project will not be affected. Why this will

leo0807
  • 941
  • 1
  • 8
  • 21

1 Answers1

0

Well that's because most modules have build process which you need to run before using them. Also editing a module directly is not a good idea because any change you do to them is guaranteed to be lost after next npm install.

As Vuetify is a MIT licensed, I suggest to fork its GitHub project and then publish it as your own npm package.

omidh
  • 2,526
  • 2
  • 20
  • 37