An Angular2 starter/seed application with routing, Child component routing. Gulp as build tool for html, scss, images and typescript transpilation Use this as starter/base/seed app to kickstart your Angular2 project
- Fork and clone this repository
- Run
npm install
- Run
npm run typings
, to install all the typing files - Run
gulp
to start watching html, scss and typescript changes and do a first build - On new termial run
npm start
to start lite-server with live reload support
- Code is based on Angular2 RC5
- NgModule's
- Components and Child Components and Directives
- Usage of Router Directives and functions like
routerLink
androuter.navigate
- App Routing and Child Component Routing and linking using
@angular/[email protected]
- Seperate build directory
- One command
gulp
to watch scss, html, images and typescript - Any changes to html, ts or scss files reloads browser
- Typescript transpilation on the flys
- Typescript
- Html
- SCSS
- Images
- Follow Angular 2 Styleguide
- TS Lint
- Integrate Codelyzer
- Unit Test
- E2E Test
- App tsd files
- Bootstrap 4 (Available in @sirajc/angular2-bs4-navbar)
- Font Awesome
- Minfications - CSS and JS
- Image compression
- Vendor bundling
- Font Bundling
- Cache Buster
- App runs on port 8001, configurable in bs-config.json under scripts
- lite-server uses browserSync and runs on port 3000, configurable in bs-config.json
Create an issue on this repo if something is broken or if a feature is needed Feel Free to create a Pull Request if you fixed anything In case you want to add a feature, create an issue to disscuss the feature first
The MIT License
Copyright (c) 2015-2016 Sirajuddin Choudhary
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.