how to copy entire view from one project to another new project in vuforia studio?
how to copy entire view from one project to another new project in vuforia studio?
how to copy entire view from one project to another new project in vuforia studio?
so far I know currently there is no supported functionality to do this but you can try the following.
- let say you have defined a project with 2 views : Home and SECOND_VIEW
- let say you want to copy the SECOND_VIEW to other project.
Steps:
1.) copy the SECOND_VIEW.js and SECOND_VIEW.json form the
<your USER directory >\VuforiaStudio\Projects\<SOURCE project>>\src\phone\components to ...
<your USER directory >\VuforiaStudio\Projects\<Target project>>\src\phone\components to ...
2,) I think this above is all but to be sure, you can additionallly eddit in the directory
<your USER directory >\VuforiaStudio\Projects\<Target project>>\ appConfig.json
so here you need to edit appConfig.json and add the second view:
"targets": {
"phone": {
"components": [
{
"name": "Home",
"fileName": "Home",
"showInMainMenu": true,
"viewType": "ar",
"title": "Home"
},
{
"name": "SECOND_VIEW",
"fileName": "SECOND_VIEW",
"showInMainMenu": true,
"viewType": "mobile-2D",
"title": "SECOND_VIEW"
}
],
then go and open the Target project in Studio UI. It should update the project.
A related issue is reported in the post duplicated a view
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.