简体   繁体   English

在ionic中为2个不同的应用程序使用相同的'www'和'plugin'文件夹

[英]use the same 'www' and 'plugin' folders in ionic for 2 differents app

What is the best way to achieve it? 最好的方法是什么? I have one app built with ionic and I want to create a new one, which will have the same code, but it should be differnt app(id, name, icon, splash). 我有一个用ionic构建的应用程序,我想创建一个新的应用程序,它将具有相同的代码,但是应该是不同的应用程序(id,名称,图标,启动画面)。

thanks 谢谢

Ok you need to edit the name in ionic.project and also config.xml and run the following 确定,您需要在ionic.project中编辑名称,还要在config.xml中运行以下命令

ionic platform remove [android or ios]

and then 接着

ionic platform add [android or ios]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM