Answer the question
In order to leave comments, you need to log in
How to work with php files in GULP task manager?
I use GULP as a web server with LiveReload, and for compiling LESS, CoffeeScript. There used to be a gulp-connect plugin for the web server. Just recently I learned about gulp-webserver. I want to split the code into parts in index.html(php) (header, slider, footer, etc.) and connect them via <?php include filename;?> for better code organization and readability. The problem is this: GULP's web server doesn't want to run PHP files, only HTML. How can this be resolved?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question