Hey, how are you?
I noticed that Ionic Angular 19 is not working. What I found is that when the www
folder is created, it has a different architecture:
WWW
- prerendered-routes.json
- Browser Folder: (Assets, Audio, Icons, etc).
The problem is that Capacitor doesn’t work with this structure. I tried updating the Capacitor config, and it works, but then the mobile phone or the emulator gives us an error: “WebView is required.” However, the app, using the www
structure created by Angular 18, works.
const config: CapacitorConfig = {
appId: ‘com.example.app’,
appName: ‘IonicAngularTest’,
webDir: ‘www/browser’
};
Does anyone know how I can avoid the new www
folder structure in Angular 19?
Thank you guys!