An Angular2 project to serve as a core with base router to navbar functionality
Have a Core Module with logger navbar and various other things to start projects quickly
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Follow instructions and navigate to localhost:4200
$ npm install -g angular-cli
$ git clone
$ cd nav
$ npm install
$ ng serve
- Nodejs - Needed for development environment
- Angular2 CLI - Easy usage for setting up barebone angular projects components services
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Discuss mock websocket
Give the example
Give the example
Discuss configs
Give the example
Run ng generate component component-name
to generate a new component. You can also use ng generate directive/pipe/service/class/module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve
.
Explain what these tests test and why
Give an example
Explain what these tests test and why
Give an example
Great js/ts utility library. Provides a nice functional interface for working with objects
var users = [
{ 'user': 'barney' },
{ 'user': 'fred' }
];
_.map(users, 'user');
// => ['barney', 'fred']
Using scss for our style sheets. To learn more see the link at the bottom of the readme
Quick Example of nested styling with scss
$somevar: 10px;
div{
width:$somevar;
&>div.inner{
ul{
li{}
}
}
}
Material2 is installed as well for basic ui styles. This really makes responsiveness easier to accomplish.
1.0.0.beta... Versioning will be handled via npm-bump.
npm install -g npm-bump
npm-bump major|minor|patch
- smoore2386* - ..
To get more help on the angular-cli
use ng help
or go check out the Angular-CLI README.
To get more help on Angular2
go check out the Angular2
To get more help on scss
go check out the sass-lang
To get more help on lodash
check out lodash.