vue.js - Vue cli deployment from index.php

one text

When I run npm run build, there is taken input from public/index.html, minimalized, compressed and put to dist. In vue.config.js I add indexPath:

module.exports = {
  indexPath: 'index.php'
};

and now in dist I've dist/index.php and it's ok, but it is possible to have in public also index.php as an input? For now I've there index.html with php code - it works but isn't comfortable

Source