generator-joomla-admin-template
v0.0.1
Published
Yeoman generator
Downloads
2
Readme
generator-joomla-admin-template
Yeoman generator
generator-joomla-admin-template is a yeoman generator, which allows you to automatically generate joomla administrator templates for your back-end.
Features
- Accessified. I added WAI-ARIA roles to the markup
- SASS-ready (or LESS). Choose what preprocessor you want to use
- PHPDoc comments. Like this:
/**
* index.php
*
* Entry point, layout view for owner template.
*
* @package Joomla.Administrator
* @subpackage Templates.owner
*
* @copyright Copyright (C) Wed May 28 2014 16:50:40 GMT-0600 (Mountain Daylight Time) Sean Goresht. All rights reserved.
* @license MIT
* @since 3.0
*/
- Based off the HTML5 boilerplate. You can actually expect root-level files like
browserconfig.xml
orapple-touch-icon-precomposed.png
- Ready to go with my sass boilerplate.
- Bootstrap-free! But you can still use bootstrap if you really want to.
Quick Start
$ npm install -g yo
- Install generator-joomla-admin-template globally from npm:
$ npm install -g generator-joomla-admin-template
- Run the generator:
$ yo joomla-admin-template
FAQ
So Bootstrap sucks. What's a good alternative?
- Use my sass boilerplate and customize it to your needs. You will probably need to use bootstrap, though, as it's used throughout Joomla. I suggest, however, fixing their mistakes and using proper selectors and variables.
- Use Zurb Foundation
- Use anything else
Are there plans for subgenerators for template fields?
Yes, I think this would be a good idea. I would happily take any suggestions on implementing this.
What dependencies are required for SASS?
I included the defaults for my sass boilerplate in the config.rb
file, but you can change them. In reality, there are actually no gem dependencies
Wait, What is Yeoman?
Trick question. It's not a thing. It's this guy:
Basically, he wears a top hat, lives in your computer, and waits for you to tell him what kind of application you wish to create.
Not every new computer comes with a Yeoman pre-installed. He lives in the npm package repository. You only have to ask for him once, then he packs up and moves into your hard drive. Make sure you clean up, he likes new and shiny things.
Contributing
All contributions are welcome. Please create an issue with the contents of your contribution.
License
MIT