A quick and dirty front-end framework/styleguide generator.
Requirements: npm, gulp-cli
- Setup:
npm install
- Development:
npm start
- Production:
npm run build
- Add your own variables/functions to
./src/_includes/app-functions.php
- Use them in Pages or Pattern files, ex:
<?php echo $your-variable; ?>
- Create new pages in
./src/
- Update the app menu in
./src/_includes/app-menu.php
- Create new patterns in
./src/_patterns/
- Use snippet within pages, ex:
<?php require '_patterns/your-pattern.php' ?>
- Create SCSS files in
./src/sass/
- Create Javascript files in
./src/js/