Issue
I created an Angular/Ionic project with capacitor. Now I wanted to make changes in my capacitor.config.json but this file is missing? Instead there is the capacitor.config.ts?! I need the JSON File because otherwise a plugin doesnt work! Which version of Ionic/Angular/Capacitor should I use for this? Here are pictures of my directory and my package.json: Directory and Files
Solution
Capacitor 3 allows to have .json, .js or .ts config file.
npx cap init
command will create a .ts file if typescript is installed
If you don’t want a .ts file you can just remove it and create a .json file, but everything should still work no matter what the config file extension is.
Answered By - jcesarmobile
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.