Giter Site home page Giter Site logo

schempy / angular2-typescript-webpack Goto Github PK

View Code? Open in Web Editor NEW
67.0 67.0 30.0 56 KB

Angular2 starter kit with Typescript and Webpack

Home Page: http://www.schempy.com/2016/01/19/angular2_webpack_typescript/

TypeScript 48.09% HTML 8.40% JavaScript 43.51%

angular2-typescript-webpack's People

Contributors

kabir avatar schempy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

angular2-typescript-webpack's Issues

Article

Hi,

In the article explaining webpack.config.js you should change boot for main. This is changed since upgrading to RC7.

entry: {
    "vendor": "./app/vendor",
    "app": "./app/main"
  },

Why is app.bundle.js bigger then vendor.bundle.js

Thanks for this example, it was very helpful for me....

Why is app.bundle.js 4,3 MB while the vendor.bundle.js is only 0,4 MB. The app is only an example and a couple of lines code. Are they switched or something?

Hash: 14566406b0d4cd3f4bf6
Version: webpack 1.13.0
Time: 5678ms
                      Asset     Size  Chunks             Chunk Names
       ./dist/app.bundle.js  4.25 MB       0  [emitted]  app
    ./dist/vendor.bundle.js   381 kB       1  [emitted]  vendor
   ./dist/app.bundle.js.map  4.53 MB       0  [emitted]  app
./dist/vendor.bundle.js.map   442 kB       1  [emitted]  vendor
    + 265 hidden modules

Upgrade to RC6

Would love to see this upgraded to RC6 and the tutorial tweaked if possible. Thanks!

missing files in typing

Missing "typings/angular2/angular2.d.ts" and "typings/tsd.d.ts" specified in tsconfig.json.

But why you add them to .gitignore?

Chrome Debugging Shows JS files Instead of TS

Hi,

First of all great tutorial!

Secondly, I'm having a small issue with chrome debugging. If I clone your project everything works fine - even when I debug in Chrome I can see the .ts files when debugging.

However, if I first open the project in Webstorm then Webstorm creates for each of the .ts files a .js file which causes Chrome to display the .js files and not the .ts files.

If I remove the generated .js files Webstorm creates I can see the .ts files when debugging in Chrome.

Why is the creation of the .js files causes this problem to Chrome showing the .js files and not the .ts files?

Thanks!

Unable to implement with templateUrl

I have been trying to work with templateUrl instead inline template, but i'm getting error "zone.js:388Unhandled Promise rejection: Failed to load test.html"

Uncaught ReferenceError: __decorate is not defined

dom_element_schema_registry.ts:43 Uncaught ReferenceError: __decorate is not defined(anonymous function) 
@ dom_element_schema_registry.ts:43(anonymous function) 
@ dom_element_schema_registry.ts:43__webpack_require__ 
@ dom_element_schema_registry.ts:43fn @ dom_element_schema_registry.ts:43(anonymous function) @ dom_element_schema_registry.ts:43__webpack_require__ 
@ dom_element_schema_registry.ts:43(anonymous function)
@ dom_element_schema_registry.ts:43(anonymous function) 
@ dom_element_schema_registry.ts:43

https://github.com/Dreampie/angular2-demo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.