Project deprecated
migrated into: https://github.com/born2net/ng2Boilerplate
angular2 new router project
License: MIT License
migrated into: https://github.com/born2net/ng2Boilerplate
> npm install
(no problems)
> tsc --watch --sourceMap
src/app/app.routes.ts(13,67): error TS2322: Type '({ path: string; component: typeof HeroListComponent; } | { path: string; component: typeof HeroD...' is not assignable to type 'Route[]'. Type '{ path: string; component: typeof HeroListComponent; } | { path: string; component: typeof HeroDe...' is not assignable to type 'Route'. Type '{ path: string; component: typeof CrisisCenterComponent; index: boolean; children: ({ path: strin...' is not assignable to type 'Route'. Object literal may only specify known properties, and 'index' does not exist in type 'Route'. 10:25:42 AM - Compilation complete. Watching for file changes.
First off, nice work on adding the new routing code into the project. I just started converting my original Angular 2 JumpStart project (that this ng2-minimal project is based on - https://github.com/DanWahlin/Angular2-JumpStart) to use the latest router today and stumbled across this project. I would appreciate if you could do the following:
Thanks!
Dan
It would be good to put aux example.
Hi
I have clone this project. It doesn't showing any errors in npm command prompt but in the browser console it rises an exception
EXCEPTION: Can't resolve all parameters for RouterOutlet: (RouterOutletMap, ViewContainerRef, ?, name).
Can anyone please resolve these issue.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.