A simple Hello World seed project with WepPack integration
-
Install Node.JS version 5.10> Use your system package manager (brew,port,apt-get,yum etc)
-
Install global Grunt and Bower commands, once you install the following commands globally, you can run 'npm install' to run the components in the package.json file
npm install -g grunt-cli bower
npm install //load all your additional package.json components
Then we will
- compile our TypeScript code and
- host the app on local development server
by running the command:
grunt serve
Then visit http://localhost:8080 in your browser. You should see an application with the header Angular 2 Simple Reddit
.
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!
What are all the other files in this repo?
tsconfig.json
- this is instructions for our TypeScript compilertslint.json
-tslint
is a program and helps enforce rules about code style. Thetslint.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