i try to run it for my project but then i failed to npx cap sync. it says that the web assets directory must contain index.html and when i add it into build folder, everytime i do npm run build the index.html file suddenly dissapear… I tried to make custom folder aka public, and add index.html file and customize the capcitor.json it can be run but it just run the plain html while i need to run index.svelte to run my app… any suggestion for the problem? thanks in advance
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How make Capacitor work with Svelte app? | 14 | 4525 | October 28, 2022 | |
@capacitor/storage - npx cap sync fails | 2 | 2447 | December 30, 2021 | |
Capacitor and Nuxt - Running 'npx cap add android' errors due to an index.html is not generated by nuxt build | 1 | 1606 | October 8, 2021 | |
I can't build ionic react app on IOS simulator | 4 | 1900 | May 17, 2021 | |
Building mobile app with capacitor only | 0 | 268 | August 30, 2023 |