Im wondering if I can build my native app with an outside www folder?
I explain my situation. My client want an app that can be serve to the mobile and tablet browser AND build also the app as native. I have put the www folder under my webfolder that is accessible in the web. But i don’t want all the cordova/ionic build stuff to be accessible. So how can I tell my ionic to use an external www directory? Is that possible? Or should I have to copy this www folder when i want to build?
You shouldn’t have to move your www directory - just set it as the root for your web server; that seems like the easiest thing to do.
In Apache for example, you can create a virtual host and set the DocumentRoot to /path/to/your/app/www. Then the server will load what’s inside the www folder and anything outside of it won’t be accessible.