Integrating ionic 3 module inside ionic 1 project


#1

I have a existing ionic 1 project, in which i have to create one extra module in ionic 3 / ionic 2. Currently I am coping my whole “www” folder from ionic 1 manually into my ionic 3’s build and have given links to switch between 2 projects. This works fine along with localStorage to access / transfer data between them.

var fs = require('fs-extra');
fs.copy('src/www/index1.html','www/index1.html');

I have tried to over write the file “ionic.config.json” like above and in package.json,

"scripts" : {
"ionic:build": "ionic-app-scripts build --copy ionic-config-override.js",
"ionic:serve": "ionic-app-scripts serve --copy ionic-config-override.js" 
}

Requirement to be ionic 1 project to be opened by default, and then on click of a
particular link / button, it must navigate to some page which will be
written in ionic 3

Can some work around be done to automatically generate builds for both ionic 1 and ionic 3 project which i am currently working on?


Integrating ionic 3 module inside ionic 1 project