Skip to content

A demo package showcasing the use of Puli in a reusable Composer package.

Notifications You must be signed in to change notification settings

puli/demo-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Puli Demo Package

This repository contains a demo showing how to use Puli in a reusable Composer package together with Twig and Gulp JS.

Run the following commands after cloning the repository:

$ npm install
$ gulp
$ composer install
$ vendor/bin/puli publish --install

Building your Own

If you want to build this demo package from scratch, follow these steps:

  1. Create the basic directory layout
  2. Copy composer.json, package.json and Gulpfile.js to the project
  3. Run npm install
  4. Run composer install
  5. Put your SCSS files into res/scss/
  6. Put your Javascript files into res/js/
  7. Run gulp
  8. Download puli.phar
  9. Run php puli.phar map /puli/demo-package res to map the Puli path /puli/demo-package to the res directory

About

A demo package showcasing the use of Puli in a reusable Composer package.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published