Skip to content

Jade, coffeescript, sass, compass for angular frontend development on yeoman

Notifications You must be signed in to change notification settings

adkrix/markup-angular

Repository files navigation

markup-angular

Professional markup for angular projects. (Nice frontend)

Deploy locally

  • Install RVM: http://rvm.io/
  • Install node.js and npm: http://nodejs.org/download/
  • Clone repo
  • cd ./repo-name
  • bundle install
  • sudo npm install -g yo grunt-cli bower
  • sudo npm install -g generator-angular generator-karma
  • sudo npm install
  • bower install

Build and development

  • grunt serve (start dev server)
  • grunt test (start tests)
  • grunt (build project in ./dist/)

Technologies

Frontend Development

Add elements with scaffolding: https://github.com/yeoman/generator-angular/blob/master/readme.md

CSS

app/styles/main.sass includes bootstrap with configuration, modules and plugins css files

_bootstrap_variables.sass includes all bootstrap variables.

_bootstrap_extend.sass for extend bootstrap.

Add files beginning underscore for every modules. For example _users.sass. In main.sass add @import "users"

Use Compass for creating cross-browser CSS +border-radius(12px) or +transition( top 0.3s ease-out, background .9s .5s ease-out )

JavaScript

Add *.coffee file in app/scripts. Add string script(src='scripts/*.js') under // build:js({.tmp,app}) scripts/app.js in index.jade Controllers path app/scripts/controllers, directives path app/scripts/directives etc

HTML

Use Jade HTML pre-processor. Create main markup in app/views/markup.jade and part of page save in app/views/markup/. For example, you created file app/views/markup/index.jade. You can see it by link http://127.0.0.1:9000/#/markup/index

Icons

Add Awesome icon <i class="fa fa-camera-retro"></i>

###OTHER BOWER COMPONENT

  1. "angular-ui-chart": "latest" see here
  2. "angular-ui-map": "latest" see here
  3. "angular-ui-utils": "latest" see here
  4. "angular-ui-slider": "latest" see here
  5. "angular-ui-date": "latest" see here

About

Jade, coffeescript, sass, compass for angular frontend development on yeoman

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published