I'm trying to add capacitor to my web app - but when running npx cap add android I get the following error:
Capacitor could not find the web assets directory "C:\Source\Upwork\snabvendor\snabvendor\www".
Please create it and make sure it has an index.html file. You can change
the path of this directory in capacitor.config.json (webDir option).
You may need to compile the web assets for your app (typically 'npm run build').
More info: https://capacitorjs.com/docs/basics/building-your-app
I have built my app, but with Angular it's output is the /dist/<project-name> folder. Should the "webDir" in the capacitor.config.json point to this folder instead of www?
I'm trying to add capacitor to my web app - but when running
npx cap add androidI get the following error:I have built my app, but with Angular it's output is the
/dist/<project-name>folder. Should the "webDir" in thecapacitor.config.jsonpoint to this folder instead ofwww?