Laravel Vuejs project how to use Index.php instead of index.html? #3577
-
I'm very new to capacitor. Would really appreciate if someone can point me to the right direction. I am getting this error
How would i configure capacitor to accept index.php? thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You can't, PHP only works on a server and Capacitor can't run a PHP server inside. The only way is pointing to a remote PHP server hosting the index.php, something like this, but it's not really recommended to point to an url in production apps and it can lead to app rejections.
|
Beta Was this translation helpful? Give feedback.
-
Thank you :) |
Beta Was this translation helpful? Give feedback.
You can't, PHP only works on a server and Capacitor can't run a PHP server inside.
The only way is pointing to a remote PHP server hosting the index.php, something like this, but it's not really recommended to point to an url in production apps and it can lead to app rejections.