schempy / angular2-typescript-webpack Goto Github PK
View Code? Open in Web Editor NEWAngular2 starter kit with Typescript and Webpack
Home Page: http://www.schempy.com/2016/01/19/angular2_webpack_typescript/
Angular2 starter kit with Typescript and Webpack
Home Page: http://www.schempy.com/2016/01/19/angular2_webpack_typescript/
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"
},
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
Would love to see this upgraded to RC6 and the tutorial tweaked if possible. Thanks!
Missing "typings/angular2/angular2.d.ts" and "typings/tsd.d.ts" specified in tsconfig.json.
But why you add them to .gitignore?
We're going to need to upgrade the project at some point to the latest and greatest. The Angular2 team just released their first RC 2 days ago.
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!
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"
RC5 comes with NgModule that overcomes bootstrap() function. Update tutorial to meet latest verison please
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.