如何更改 v

编程入门 行业动态 更新时间:2024-10-27 14:32:58
本文介绍了如何更改 v-slider 组件并在我的应用程序中对其进行测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我尝试在 node_modules 中进行编辑,但文件是从 dist 中获取的,而 src 似乎被忽略了.

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

我尝试了 npm run build 以查看是否可以将更改推送到 dist 但这也不起作用,因为似乎缺少其他依赖项.

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.

更新:

我按照文档的贡献部分中有关设置 dev env 的说明进行操作.

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

但是 dist 文件夹和没有我改动的那个文件夹是一样的

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

是什么?

推荐答案

Contributing 部分中设置 dev env 中的说明.

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

在克隆的存储库文件夹中运行yarn build"后,您可以将packages/vuetify下dist文件夹的内容复制到正在开发的应用程序的node_modules/vuetify下的dist文件夹中,您的更改就可以测试了.

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.

您还可以在包/vuetify 中执行 npm run build 以进行后续更改.

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

这篇关于如何更改 v-slider 组件并在我的应用程序中对其进行测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-26 22:33:14,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1142856.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何更改

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!