如何将两个项目(SFC)合并到VUEJS中一个

发布于 2025-02-07 09:46:13 字数 386 浏览 0 评论 0原文

我下载了一个漂亮的菜单(SFC Vuejs),我想将其实现给我拥有的另一个SFC。我已经尝试了所有内容,但总是抱怨丢失文件夹node_modules中的东西。

我想念什么?

谢谢。


我要合并的软件包是:

vue-google-charts Vue-Sidebar-Menu

我要尝试的是将菜单和图表一起使用。当我单独运行SFC时,它可以正常运行,但是如果我尝试合并,然后导入App.vue中需要导入的所有内容,它会抱怨另一个项目的文件夹中的node_modules在Google图表中添加了副栏的App.vue中的代码)。

我是Vuejs的新手。观看了一些视频,播放了一些视频,并设法做了我想做的事,但是在项目中添加了我想使用侧边栏的菜单。

谢谢。

I have downloaded a beautiful menu (SFC VueJS) and I would like to implement that to another SFC that I have. I've tried everything but always complain about missing things in the folder node_modules.

What am I missing?

Thanks.


The packages I'm trying to merge are:

vue-google-charts
vue-sidebar-menu

What I'm trying todo is to have the menu and the charts together. When I run the SFC individually it works fine, but if I try to merge then importing everything that needs to be imported in the App.vue, it complains about the node_modules that is in the folder of the other project (For example, I have added the code in Google Charts in the App.vue of the sidebar).

I'm a newbie in Vuejs. Watched a few videos, played around a bit and managed to do what I want, but adding a menu in the project I would like to use the sidebar.

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文