Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 23 00:49
    qdouble removed as member
  • Feb 23 00:49
    govi2010 removed as member
  • Feb 23 00:49
    lanovoy removed as member
  • Feb 23 00:49
    d3viant0ne removed as member
  • Feb 23 00:49
    shlomiassaf removed as member
  • Feb 23 00:49
    mastertinner removed as member
  • Feb 23 00:49
    colinskow removed as member
  • Feb 23 00:49
    matthewdenobrega removed as member
  • Feb 23 00:49
    dotcs removed as member
  • Feb 23 00:49
    DanWahlin removed as member
  • Feb 23 00:49
    Foxandxss removed as member
  • Feb 23 00:49
    niieani removed as member
  • Feb 23 00:49
    katallaxie removed as member
  • Feb 23 00:49
    kentcdodds removed as member
  • Feb 23 00:49
    jeffbcross removed as member
  • Feb 23 00:49
    jimthedev removed as member
  • Feb 23 00:49
    carlosliu removed as member
  • Feb 23 00:41
    PatrickJS commented #1686
  • Feb 22 22:23
    kamil-kielczewski commented #1686
  • Feb 22 22:23
    kamil-kielczewski commented #1686
Jamie Spittal
@Spittal
I believe this will point you in the right direction
but full disclosure @thuynh I’m fairly new to Typescript myself so I’m not 100% sure.
Attila Egyed
@tsm91
I installed materializecss via npm and added a require('materialize-css/dist/css/materialize.min.css'); in app.ts, it seems like the styles havent got loaded, any ideas on this one?
i even tried to load it in the @component decorator as local styles, styles: [require('materialize-css/dist/css/materialize.min.css')] but no effect at all, i don't receive any errors
Nathan Erickson
@Luwdo
Hey guys I was wondering if anyone has run into duplicate Identifiers when installing es6-shim through npm at the same time as typescript?
thomasbee
@thomasbee
what would be the right way to tell webpack to transfer a CSS file in a node_module (toastr in my case) to the assets directory. I could copy it there manually but that's not so nice
luxury-technologies
@luxury-technologies

Hey guys, working on a node project and after having installed the dependencies I couldn't run the application (my first time) ...

Error: "webpack-dev-server" is not recognized as an internal or external command

Nathan Erickson
@Luwdo
@thomasbee with webpack if you install the css-loader, sass-loader, and style-loader you can target any type of css file for requiring in your TS file, the loader will inject the css into the page. What I like to do is have a main scss file then in the scss file i use an import statement to include my node_module css files @import "~animate.css/animate.css";; and in my main entry ts require('./app.scss');

this would be your css loader config in webpack.config.js

{ test: /\.css$/, loader: 'style!css' }

this would be your scss loader config

{ test: /\.scss$/, loader: 'style!css!sass' }
the ~ on a import statement is a shortcut that tells the loader to look in your node_modules folder
Dave
@aios
Hi! How i can make Laravel 5.2 + Angular2-Webpack-Starter chain? By laravel 5.2 api - and jwt tokens i doesnt make any questions. But Ng2... Anybody can take newspaper where i can read about it. And sorry for bad english.
Dave
@aios
Anybody is hear?
Raj Krishna Maharjan
@roxcity
How to hide # in url in prod mode ?
How can i use pathlocationstrategy instead of # strategy?
Raj Krishna Maharjan
@roxcity
when i put pathlocationstrategy the url localhost:8080/about doesn't work
Nathan Erickson
@Luwdo
I noticed that at no point does the angular 2 starter to a require('angular2'), I don't see an import loader for webpack either that add requires to import statements. Does webpack already recognize the an import statement as a require?
or is it somewhere else that we are requiring angular2
Dave
@aios
I have a simple crud app with api on laravel. Need help with build angular 2 app with webpack. Who can help?
larzknoke
@larzknoke
Hi, providers: [ ...FORM_PROVIDERS ], what means the "..." in the array ?
larzknoke
@larzknoke
ah thx
Jason Miazga
@jmiazga
i cloned the latest, and when i run 'npm run e2e' i get the following error
SyntaxError: missing ) after argument list
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:404:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:429:10)
at Object.<anonymous> (C:\Users\j136783c\Desktop\angular2-webpack-starter\node_modules\ts-node\src\bin\ts-node.ts:121:12)
at Module._compile (module.js:397:26)
at Object.Module._extensions..js (module.js:404:10)
at Module.load (module.js:343:32)
and ideas?
Tom
@datoml
Hello everyone :)
Has anyone tried redux with angular 2?
Aleš
@fxck
hey @datoml sure, check out this https://github.com/ngrx/store
and its gitter room as well
and here's comparison to redux ngrx/store#16 (tl;dr it's the api same, except ngrx is leveraging ng2's use of rxjs)
Tom
@datoml
@fxck Thanks for the link. I'll have a look at it :)
Zarko Susnjar
@zarkosusnjar

Hi guys,

Anyone knows why would Selenium/Cucumber tests stop working after upgrading from beta.1 to beta.6, and latest starter?
Basically all changes to UI forms are not triggering changes in model driven form control s... :(

binarious
@binarious
It got painfully slow on subsequent builds since I updated to version 3.0.0. Any ideas?
webpack: bundle is now VALID.
webpack: bundle is now INVALID.
5362ms build modules
5ms seal
104ms optimize
30ms hashing
139ms create chunk assets
86ms additional chunk assets
4599ms optimize chunk assets
16695ms optimize assets
43ms emit
Hash: 6fd3c185387ef5015abd
Version: webpack 1.12.14
Time: 28032ms
Raj Krishna Maharjan
@roxcity
anyone here?
binarious
@binarious
nvm I found AngularClass/angular2-webpack-starter#222
Aleš
@fxck
blob
anyone seeing this error?
This message was deleted
Uncaught (in promise) TypeError: object is not a constructor(…)
in undefined:1
which points to chrome-devtools://devtools/bundled/undefined
thomasbee
@thomasbee
does anyone have issues with slowness of the dev build?
thomasbee
@thomasbee
Using just a few classes the seed has become unusable to me, it spends a minute in "90% optimize assets" and then crashes with out of memory
James Pacileo
@jamespacileo
Apologies guys... but how do I add additional dependencies to the base project?
npm install <project_name>
import {...} from "<project_name>/module"
?
typescript is autocompleting fine, but I'm getting "Source file not found" in the dev server logs
binarious
@binarious
@thomasbee see issue: AngularClass/angular2-webpack-starter#222 There are workarounds.
thomasbee
@thomasbee
@binarious I didn't get any