I found a solution,
First, execute:
npm run eject
then, change the code in paths.js to:
appHtml: resolveApp('public/index.php')
and webpack.config.dev.js (agree |php):
exclude: [/.(js|jsx|mjs|php)$/, /.html$/, /.json$/]
after:
npm start
this works well
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…