Giter Site home page Giter Site logo

willianmiranda / angular2-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from amcdnl/angular2-demo

0.0 2.0 0.0 6.23 MB

Angular2 + SASS + TypeScript + SystemJS + NPM Builds

Home Page: http://amcdnl.github.io/angular2-demo

HTML 13.51% TypeScript 23.77% CSS 62.72%

angular2-demo's Introduction

Angular2 Demo

A minimal Angular2 demo site using:

  • TypeScript
  • SystemJS
  • NPM Build
  • SASS

You can see the a running demo here.

NOTE: THIS PROJECT HAS NOT BEEN UPDATED TO NG2 RC5+, THERE ARE SOME MAJOR CHANGES BETWEEN THE VERSION THIS PROJECT USES AND THAT RELEASE. I DO PLAN TO UPDATE TIME PERMITTING.

Commands

command description
npm run setup installs globals/etc
npm run clean clean dist directory
npm run build clean, ts & sass build
npm run build:ts typescript build
npm run build:sass sass build
npm run build:css postcss build
npm run watch clean/watch ts & sass
npm run watch:ts watch typescript
npm run watch:sass watch sass
npm run dev build, watch, browsersync

Component Tree

Below outlines a tree of how the components are arranged in the Angular2 component tree.

component tree

File Structure

The folder structure is aimed to encapsulate components into their own modules. In each component folder, it contains all the html, css, js for that component. Components that are not coupled to this application are grouped into a common folder for reuse.

└── src
    ├── app           -- root     component
    │   ├── header    -- header   component
    │   └── rsvp      -- rsvp     component 
    └── common        -- root     utilities and components that are reusable
        ├── parallax  -- parallax component
        └── utils     -- misc     utilities

Credits

The demonstration was a project to learn Angular2 while teaching my beautiful fiancée how to code our wedding website; I hope you enjoy! The project was presented at SFL Code Conference, for slides click here.

angular2-demo's People

Contributors

amcdnl avatar rafaelfernandesnet avatar

Watchers

James Cloos avatar Willian avatar

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.