1.0.0 • Published 7 years ago

ng-book-2-advacned-components v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

ng-book 2: Built-in Directives Examples

A demo app showing Angular's built-in directives

Dependencies

Before you get started, you need to make sure you have node.js installed. We'll be using npm to run this project (npm will be installed when you install node.js). You can install node.js here.

Installing

First, you need to make sure you install the dependencies:

npm install

Then we will

  • compile our TypeScript code and
  • host the app on local development server

by running the command:

npm run go

Then visit http://localhost:8080 in your browser. You should see an application with the header Angular 2 Simple Reddit.

Getting Help

In the case where it doesn't work, the first thing to try is looking at the developer console in your browser.

If that doesn't work, come chat with us!

Other Files (advanced)

What are all the other files in this repo?

  • tsconfig.json - this is instructions for our TypeScript compiler
  • tslint.json - tslint is a program and helps enforce rules about code style. The tslint.json is the config file that specifies conventions for this project.
  • vendor - for this project we're using Semantic-UI for the CSS. We've included the CSS files from Semantic here.
  • resources - this is where we store a few images