These are chat archives for AngularClass/angular2-webpack-starter

5th
Sep 2016
Sandeep Ranjit
@ersandeepranjit
Sep 05 2016 06:33
can anyone help me to configur the webpack -dev -server to run in MEAN Stack using along with angular class config
Jay
@Web2Integrators
Sep 05 2016 07:48
hi I am using material2 branch.I upgraded package json to use rc6 and latest material 2
I am getting this error
main.browser.ts:49 Error: Template parse errors
any help here please?
rvalimaki
@rvalimaki
Sep 05 2016 12:29
In tsconfig there is now a new configuration to enable absolute import paths: "baseUrl": "./src". However, using absolute paths breaks the webpack itself: "ERROR in ./src/path/to/code/foo.ts Module not found: Error: Can't resolve 'app/absolute/path/bar' in 'blahblah'
Any workaround for that, or do I still need to use relative paths? (Relative paths are a major PITA for shared types, and a great headache for every refactor)
João Ribeiro
@JonnyBGod
Sep 05 2016 16:37
@rvalimaki I am using TS2 baseUrl with paths to enable importing `from "components/home"
for that I also configures webpack with > resolve: {
alias: {
components: helpers.root('src/app/components'),
frameworks: helpers.root('src/app/frameworks'),
assets: helpers.root('src/assets')
}
},
resolve: {
    alias: {
      components: helpers.root('src/app/components'),
      frameworks: helpers.root('src/app/frameworks'),
      assets: helpers.root('src/assets')
    }
  },
@rvalimaki this works fine in most cases but I still have yet to make it work for e2e tests. For now I advise you to use relative paths in your .e2e.ts files
João Ribeiro
@JonnyBGod
Sep 05 2016 16:43
the problem is related to how ts-node works. It uses node importer that does not let you rewrite paths.
kasappasutar
@kasappasutar_twitter
Sep 05 2016 17:38
Hi
I am working angular 2 RC5
on the submit button I say [disabled]=!modalForm.form.valid however for some reason the form is always flagged as valid even when the required input is empty.
Bnaya Peretz
@Bnaya
Sep 05 2016 19:17
hey friends! i wonder, is there a guideline how to keep a project based on that starter upto date with it?
something better then manual patching