How can I change Apache Cordova's working directory to something other than www? Changing <content src="src/index.html"/>
in config.xml did not work.
Here is what documentation for ionic-cli says about Serving an alternative document root
If you'd like to test your app in the browser and you use a folder other than the default of www, you can specify this folder in your ionic.project file.
Example:
{
"name": "SmoothRiders",
"gulpStartupTasks": [
"watch"
],
"documentRoot": "app",
"watchPatterns": [
"app/js/*",
"!app/css/**/*"
]
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With