Skip to content
This repository has been archived by the owner on Mar 10, 2022. It is now read-only.

请教一下 #7

Open
yuu2lee4 opened this issue Oct 30, 2016 · 2 comments
Open

请教一下 #7

yuu2lee4 opened this issue Oct 30, 2016 · 2 comments

Comments

@yuu2lee4
Copy link

yuu2lee4 commented Oct 30, 2016

现在我们公司有多个产品,我们想这样做:
每个产品是一个spa,每个产品自己构建编译,这样就不用一个产品改动,全部都要编译了,然后外层框架提供公共组件和公共部分的界面,比如顶部导航和左侧菜单,点击左侧菜单,中间内容区进入不同的spa应用,一种方案是iframe(被否决了),另一种是公共界面作为组件引入到子产品里面,不知道还有没有更好的方法呢?

@yaoyao1987
Copy link
Owner

@yuu2lee4 ,感觉可以把公共部分做成插件,这个是vue插件的介绍https://vuefe.cn/guide/plugins.html

@yuu2lee4
Copy link
Author

好 谢谢

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants