How to convert an existing Angular1 web app to a Cordova app?

后端 未结 3 552
粉色の甜心
粉色の甜心 2020-12-04 11:19

I\'ve found a lot of tutorials on the internet telling you how to build a new Cordova app with AngularJS, and that\'s good.

But wh

3条回答
  •  忘掉有多难
    2020-12-04 12:13

    Follow the steps stated by Popcorn245 and if it doesn't work, try to make the build of your currently working Angular 1 project and copy all the files from "dist" folder (present in the root directory, which should include "index.html" file as well) to the "www" folder in the ionic app project and then try to do "ionic serve".

    I tried the solution given by elmerDeVe but was unable to get the app working. Anyway, thanks elmerDeVe for the solution.

提交回复
热议问题