嘗試設置yo webapp以使用PHP服務器而不是HTML。 我試着按照這個答案的例子沒有成功。 Gulp-webapp running BrowserSync and PHP 我將gulp-connect-php添加到我的項目中。 // Towards the top of my gulpfile, added:
const connect = require('gulp-connect-ph
我正在嘗試使用browserSync的gulp-connect中間件,但到目前爲止我還沒有運氣。 這是how it should be used ...
middleware: function(){
return [gulpConnectSsi({
baseDir: __dirname + '/app',
ext: '.html',