The default directory structure is intended to provide a great starting point for both Progressive Web App and Cordova App.
/resThis directory contains platform specific resources such as launch icons, splash screens, configuration files etc. for the Cordova project.
/wwwThis directory contains the project's HTML/CSS/JS assets.
config.xmlIt is a global configuration file that controls the Cordova app's behavior.
/assetsThis directory contains the CSS, JS, images, fonts assets.
/partialsThis directory contains the HTML files.
index.htmlThis file is the entry point to the app.
manifest.jsonThis web app manifest is a simple JSON file that tells the browser about your web application and how it should behave when installed on the user's mobile device or desktop.
service-worker.jsThis file empowers the PWA by enabling offline caching, background sync, push notifications etc.
assetsdirectory contains two folders —
vendordirectory contains the core dependencies, third-party libraries and plugins used in the app.