Skip to content Skip to sidebar Skip to footer

Cordova Script Src Takes Relative Path Rather Absolute

I am building a hybrid app out of cordova . my folder structure looks like www bower_components components fonts scripts styles images index.html When i build the project usin

Solution 1:

The problem was not with cordova its because i have added BASE tag in html for for angular js and i have set <base href='/'>. So the scripts takes absolute path.


Post a Comment for "Cordova Script Src Takes Relative Path Rather Absolute"