Software Archive
Read-only legacy content
17061 Discussions

Ionic 2 build with Intel XDK

Shane_L_
Beginner
240 Views

Hi, 

I really need help. I have happily used the XDK as my build system for my apps and I am just finishing migrating Ionic 1 apps to Ionic 2 and have found out that the XDK won't let me import a basic Ionic 2 app. Ionic 2 is in Release Candidate and I understand it will be in Final release at the end of the month.

I'm not really sure why it won't let me import it. At the end of the webpack build step you are left with a www folder containing an index.html file and a build folder containing the bundled .js and .css file (main.js and main.css) but the XDK won't let me import this as in import your current HTML5 project)- it rejects the project structure.

I really like the Intel XDK and would really appreciate it if I could be given help to make it work for Ionic2

Thanks

Shane

0 Kudos
1 Reply
Shane_L_
Beginner
240 Views

I have been playing around with the settings some more and found a solution.

You need to point the root folder as the main root folder, not the www folder, and then when the XDK is examining the folder, change the source folder from src to www (the output of the build step)

 

Thanks

 

Shane

0 Kudos
Reply