back soft

مطالب مرتبط با «angular 2 release» در back soft | نویسنده: استخدام کار

Angular 2 - Ahead-of-time compilation how to

Vote count: 0 I'm trying to bootstrap my Angular 2 RC5 application following this guide https://angular.io/docs/ts/latest/guide/ngmodule.html Below is my code import { AppModuleNgFactory } from './app.module.ngfactory'; import {platformBrowser} from "@angular/platform-browser"; platformBrowser().bootstrapModuleFactory(AppModuleNgFactory); However , when I tried to compile typescript code, I got the following error appmain.ts(1,36): error TS2307: Caot find module './app.module.ngfactory'. How can I generate the app.module.ngfactory file? Which tool should I use? asked 1 min agoToan Nguyen Let's block ads! بخوانید...

ادامه مطلب

Angular2 - Release candidate router not routing to child routes

Vote count: 0 I am trying to create a simple nested router. This sort of structure worked in the beta builds, but with the launch of the release candidate router I find myself stuck. http://plnkr.co/edit/7KSJpqWuBpkxi1E6tJ The plunkr above is a contrived version of my scenario. Despite having @Routes([ new Route({ path: '/applications/...', component: ApplicationRouter }) ]) the router doesn't appear to be recognising the non-terminal route. Error: Uncaught (in promise): Caot match any routes. Current segment: 'applications'. Available routes: ['/applications/...']. asked 1 min agomattdotdev 1 Answer Vote count: 0 As far as I know in the new router /... isn't necessary for routes that have c...

ادامه مطلب

برچسب‌های مرتبط

angular 2 - v 3 router | angular 2 - first look | angular2 - tour of heroes | angular 2 | angular 2 0 | angular 2 release date | angular 2 typescript | angular 2 tutorial | angular 2 0 roadmap | angular 2 release