generator-p4
v4.0.0
Published
Yeoman generator for Foundation 6 + Sass + Gulp + Webpack + Composer + PHP
Downloads
72
Maintainers
Readme
generator-p4
Yeoman generator for Foundation 6 + Sass + Gulp + Webpack + Composer + PHP
Installation
First, install Yeoman , Gulp and generator-p4 using npm (we assume you have pre-installed node.js, Composer and a PHP Server).
npm install -g yo
npm install gulp-cli -g
npm install -g generator-p4
Then generate your new project: navigate to your PHP server folder and create a projetc folder
mkdir project
cd project
yo p4
Get started
npm start
Compile assets for production
When building for production, the CSS and JS will be minified. To minify the assets in your /dist
folder, run
npm run build
To create a .zip file of your project, run:
npm run package
Local Development
Choose one of the following setups for local development:
License
MIT © José Willams