How do I make changes to the v-slider component and test it in my app?

白昼怎懂夜的黑 提交于 2019-12-11 17:22:01

问题


I tried editing inside node_modules but the files are taken from dist and src seems to be ignored.

I tried npm run build to see if I can push my changes to dist but that doesn't work either as other dependencies seem to be missing.

UPDATE:

I followed the instructions about set up dev env in the Contributing section of the docs.

Made the changes and did yarn and yarn build

But the dist folder is identical to the one without my changes

What gives?


回答1:


Instructions in the set up dev env in the Contributing section work.

After running "yarn build" in the cloned repository folder, you can copy the contents of the dist folder under packages/vuetify to the dist folder under node_modules/vuetify of the app being developed and your changes can be tested.

You can also do npm run build inside packages/vuetify for subsequent changes.



来源:https://stackoverflow.com/questions/55278918/how-do-i-make-changes-to-the-v-slider-component-and-test-it-in-my-app

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!