ember-dnf-blueprints
A set of blueprints and helpers for rapid web app development.
Last updated 4 years ago by eibrahim .
MIT · Original npm · Tarball · package.json
$ cnpm install ember-dnf-blueprints 
SYNC missed versions from official npm registry.

Ember-dnf-blueprints

A set of blueprints and helpers for rapid web app development.

Installation

ember install ember-dnf-blueprints

Inculde bootstrap files

ember g dnf-bootstrap install

Generate a navbar

ember g dnf-navbar main

Add {{nav-main}} to your application template

Add Google Analytics to your ember app

ember g dnf-google-anlaytics UA-111111-11

Add a favicon to your app

ember g dnf-favicon install

Add firebase to your app

ember g dnf-firebase your-app-name

if your app url is mywebapp.firebaseio.com then you would run ember g dnf-firebase mywebapp

Add user accounts to your app

ember g dnf-accounts install visit your app at http://localhost:4200/account and you should be able to signup/login/logout

Important: You should add firebase to your app first using the above instructions

Note: You might want to add this to your application route

  auth: Ember.inject.service(),

  beforeModel: function() {
    let session = this.get('session');
    return session.fetch().then(() => {
      return this.get('auth').setUser();
    }).catch((e) => {
      console.log(e);
    });
  },

Todos

  • blueprint for generating a footer
  • blueprint for adding google anlaytics
  • blueprint for generating a login form
  • blueprint for generating a signup form
  • get rid of ~un files (git will ignore them, it's only a problem in dev)

Current Tags

  • 0.0.14                                ...           latest (4 years ago)

14 Versions

  • 0.0.14                                ...           4 years ago
  • 0.0.13                                ...           4 years ago
  • 0.0.12                                ...           4 years ago
  • 0.0.11                                ...           4 years ago
  • 0.0.10                                ...           4 years ago
  • 0.0.9                                ...           4 years ago
  • 0.0.8                                ...           4 years ago
  • 0.0.7                                ...           4 years ago
  • 0.0.6                                ...           4 years ago
  • 0.0.5                                ...           4 years ago
  • 0.0.4                                ...           4 years ago
  • 0.0.3                                ...           4 years ago
  • 0.0.2                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |