Giter Site home page Giter Site logo

generator-aura's Introduction

Aura generator for Yeoman - customized for Onswipe directory structure Build Status

=====================================
                             _
      /\                    (_)
     /  \  _   _ _ __ __ _   _ ___
    / /\ \| | | | '__/ _` | | / __|
   / ____ \ |_| | | | (_| |_| \__ \
  /_/    \_\__,_|_|  \__,_(_) |___/
                           _/ |
                          |__/
=====================================

Usage

First make a new directory, and cd into it:

mkdir my-awesome-project && cd $_

Then install generator-aura:

git clone [email protected]:Lulo/generator-aura.git
cd generator-aura
npm link

Run yo aura, optionally passing an app name:

yo aura [app-name]

Finally, install npm and bower dependencies:

npm install && bower install --dev

Generators

Available generators:

Aura Component

Generates a component in app/aura_components.

Example:

yo aura:component sample

Produces app/aura_components/sample/main.js

Extension

Generates an extension in app/extensions.

Example:

yo aura:extension storage

Produces app/extensions/storage.js

Styles

Generates cool styles.

Example:

yo aura:styles

Supported types:

  • Default (normalize.css)
  • Twitter Bootstrap
  • Twitter Bootstrap for Compass
  • Zurb Foundation

Contribute

See the contributing docs

License

MIT license

generator-aura's People

Contributors

dotcypress avatar robertd avatar buritica avatar fudanchii avatar addyosmani avatar felixlaumon avatar distracteddev avatar mozmorris avatar

Stargazers

Camilo Aguilar avatar

Watchers

Camilo Aguilar avatar  avatar jonjohnjohnson avatar Paul Tepper Fisher avatar Stu Kabakoff avatar Andrew Pierce avatar  avatar Matt Modrowski avatar Raul Miller avatar James Cloos avatar Pato Arvizu avatar eldilibra avatar Craig Pottinger avatar fp avatar Francois Dang Ngoc avatar Vince avatar  avatar Yichen avatar Phil Godzin avatar Alwin avatar Chris Murphy avatar  avatar  avatar

generator-aura's Issues

Enhance main.js to require template

Example:

define([
  'underscore',
  'text!./template.html'
], function(_, tpl) {
  'use strict';

  var template = _.template(tpl);

  render: function () {
    this.html(template());
  }
});

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.