An Angular 2 Webpack Starter kit featuring Angular 2, Router, TypeScript, and Webpack by AngularClass
PatrickJS on master
Update README.md (compare)
guys, I'm trying to use new and shiny "@angular/router": "3.0.0-alpha.3" and I get this when build the project:
[default] d:/Documents/Visual Studio 2015/Projects/NewsNotifier/node_modules/@angular/router/directives/router_outlet.d.ts:10:5
Duplicate identifier 'readonly'.
[default] d:/Documents/Visual Studio 2015/Projects/NewsNotifier/node_modules/@angular/router/directives/router_outlet.d.ts:10:14
'=' expected.
[default] d:/Documents/Visual Studio 2015/Projects/NewsNotifier/node_modules/@angular/router/directives/router_outlet.d.ts:10:14
Cannot find name 'isActivated'.
[default] d:/Documents/Visual Studio 2015/Projects/NewsNotifier/node_modules/@angular/router/directives/router_outlet.d.ts:10:25
';' expected.
[default] d:/Documents/Visual Studio 2015/Projects/NewsNotifier/node_modules/@angular/router/directives/router_outlet.d.ts:11:5
Duplicate identifier 'readonly'.
and so on. any idea on the cause?
import 'assets/js/agglinechart.js’;
statement. The agglinechart.js
basically contains a giant aggLineChart function (function aggLineChart() {.... }
). How do I access this function within the home component environment? Would really appreciate your help..
Any idea why the class alignright isn't honored?
<table class="herotable">
<tr>
<td>ask </td>
<td class="alignright">volume </td>
<td>bid </td>
<td class="alignright">volume </td>
<td>range </td>
</tr>
<tr class="herotable" *ngFor="let md of data.l2pricedata" width="100em">
<td>{{md.priceSell}}(isk) </td>
<td class="alignright">{{md.volSell}} </td>
<td>{{md.priceBuy}}(isk) </td>
<td class="alignright">{{md.volBuy}} </td>
<td>{{md.Buyrange}} </td>
</tr>
</table>
.herotable .table{
width: 100%;
left: 5em;
}
.herotable .tr{
width: 110em;
color: #c0c9c7;
}
.alignright .td{
text-align: right;
color: #c0c9c7;
margin: .08em .25em;
border: 1px solid red;
border-collapse: collapse;
padding: 10px;
}
.herotable .th .td{
color: #c0c9c7;
margin: .08em .25em;
border: 1px solid red;
border-collapse: collapse;
padding: 10px;
}
<td *ngIf="md.priceSell !== null">{{md.priceSell}} (isk) </td>
events.js:160
throw er; // Unhandled 'error' event
^
Error
at new JS_Parse_Error (eval at <anonymous> (J:\a5\evemonkey\node_modules\uglify-js\tools\node.js:22:1), <anonymous>:1526:18)
at js_error (eval at <anonymous> (J:\a5\evemonkey\node_modules\uglify-js\tools\node.js:22:1), <anonymous>:1534:11)
at croak (eval at <anonymous> (J:\a5\evemonkey\node_modules\uglify-js\tools\node.js:22:1), <anonymous>:2026:9)
at token_error (eval at <anonymous> (J:\a5\evemonkey\node_modules\uglify-js\tools\node.js:22:1), <anonymous>:2034:9)
at unexpected (eval at <anonymous> (J:\a5\evemonkey\node_modules\uglify-js\tools\node.js:22:1), <anonymous>:2040:9)
at semicolon (eval at <anonymous> (J:\a5\evemonkey\node_modules\uglify-js\tools\node.js:22:1), <anonymous>:2060:56)
at simple_statement (eval at <anonymous> (J:\a5\evemonkey\node_modules\uglify-js\tools\node.js:22:1), <anonymous>:2240:73)
at eval (eval at <anonymous> (J:\a5\evemonkey\node_modules\uglify-js\tools\node.js:22:1), <anonymous>:2113:19)
at eval (eval at <anonymous> (J:\a5\evemonkey\node_modules\uglify-js\tools\node.js:22:1), <anonymous>:2073:24)
at eval (eval at <anonymous> (J:\a5\evemonkey\node_modules\uglify-js\tools\node.js:22:1), <anonymous>:2827:23)
at Object.parse (eval at <anonymous> (J:\a5\evemonkey\node_modules\uglify-js\tools\node.js:22:1), <anonymous>:2837:7)
at J:\a5\evemonkey\node_modules\uglify-js\tools\node.js:64:33
at Array.forEach (native)
at Object.exports.minify (J:\a5\evemonkey\node_modules\uglify-js\tools\node.js:59:15)
at J:\a5\evemonkey\node_modules\gulp-uglify\minifier.js:65:22
at trycatch (J:\a5\evemonkey\node_modules\gulp-uglify\minifier.js:15:12)
at DestroyableTransform.minify [as _transform] (J:\a5\evemonkey\node_modules\gulp-uglify\minifier.js:64:19)
at DestroyableTransform.Transform._read (J:\a5\evemonkey\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:159:10)
at DestroyableTransform.Transform._write (J:\a5\evemonkey\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:147:83)
at doWrite (J:\a5\evemonkey\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:313:64)
at writeOrBuffer (J:\a5\evemonkey\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:302:5)
at DestroyableTransform.Writable.write (J:\a5\evemonkey\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:241:11)
_variables.scss: $fa-font-path
to be whatever the relative path to assets/fonts
is
And it seems, that, when I try to
import * as d3 from 'd3';
in some specific component, d3 object is available at the global level from other components.
For example, inject d3 into c1.component.ts. Then, in c2.component.ts type something like
console.log(d3);
And it works! Awfull!
Hello everybody
i'm trying to resolve a problem that i explain on this link: http://stackoverflow.com/questions/37800356/is-it-possible-configure-ng2-translate-with-angular-2-and-webpack
can anybody help me ?
Thanks