Comments (9)
Hi @kristianmandrup :)
The main goals behind this effort are:
- validate aurelia.d.ts with real examples
- validate requirejs and amd loaders (instead of mainstream systemjs jspm)
- validate esri map integration
there is an initiative underway to manage sample code in a website. once this comes out, it would probably make sense to migrate this code into that pattern.
i was really targeting folks that use visual studio and have some limited javascript experience. because of this, i thought it would be easier for that type of user to just clone the entire thing and start playing with visual studio projects.
i'm really new to all of this. i'm sure there will be big re factoring as i learn more.
feel free to clone and adapt and publish other work. we can include references to the work here - you can just submit pull requests to the doc files.
let me know your thoughts :)
from aurelia-typescript.
Hi @cmichaelgraham,
Thanks for the clarification. I'm just surprised that you are inlining webcomponents, aurelia code base etc. instead of referencing particular versions from a package or jspm config file. Inlining code libs makes it harder to manage IMO (more difficult to stay in sync with or upgrade to later versions).
Looking forward to see sample apps that work with TypeScript outside of Visual Studio.
Looking forward to TypeScript:
https://github.com/Microsoft/TypeScript/milestones/TypeScript%201.5
Cheers :)
from aurelia-typescript.
totally agree on the inlining of components - its not supportable in the long run. i really appreciate your input !! :)
from aurelia-typescript.
The problem I am running into using config.js and SystemJS set up is that the Typescript debugging does not work in IE under IIS express in VS. For some reason your set up of single bundle load under requireJS works with Typescript debugging in VS with IE but not with JSPM loaded version.
Debugging works fine in Chrome for both set up but that is debugging in browser.
from aurelia-typescript.
@csrow we have had issues with IE debugging here also. seems like if you get everything set just right, it works, but it is tricky. our issues were around the dojo require and the fix had to do with the async flag, but i'm really not sure of all the details. it is definitely very helpful when it works :)
from aurelia-typescript.
FYI. Webstorm IDE (IntelliJ) will support TypeScript in their next version (10), which is already available in Early Access Program. Will be big!!!
http://blog.jetbrains.com/webstorm/2015/02/webstorm-10-eap-140-2753/
from aurelia-typescript.
That is VERY cool !! :)
from aurelia-typescript.
I think VS debugger is getting confused and not recognizing the modules as a part of the project because Aurelia handles loading of modules in AMD format internally without the use of requireJS.
How are you able to use requireJS on top of Aurelia?
from aurelia-typescript.
Hi @csrow :)
It is due to the genius of @EisenbergEffect - he was able to make Aurelia work properly using systemjs loader as well as requirejs amd loader, as well as dojo require-based amd loader. It is the dojo scenario i'm the most interested in, because that makes the integration with esri very nice for creating mapping apps.
i believe that this magic is located in https://github.com/aurelia/loader-default
if you look at the bundling, you will see that r.js can be used to collect up and bundle all of the aurelia libraries. That's what the samples in here are using when they run. That strategy also makes it work well with the Telerik mobile platform, another key area of interest for me.
from aurelia-typescript.
Related Issues (20)
- create interfaces and strong types for screen activation lifecycle
- skel-nav-require-webstorm-ts HOT 3
- skel-nav-esri-vs-ts-telerik
- Please add Aurelia DefinitionTypes to definitely typed :) HOT 18
- Test HOT 1
- Bootstrap Aurelia with single require() HOT 1
- How to get to plugins
- Proposal to enable extending validation plugin type definition with custom validation rules
- d.ts typings error on compile HOT 2
- d.ts compile errors HOT 3
- Aurelia.d.ts and noImplicitAny
- skel-nav-esri-vs-ts - defineAlreadyDefined HOT 7
- Question: sublime-text code completion in html model files seeded from the viewModel HOT 2
- nav-bar menu not working (bootstrap)
- Missing typescript goodnesswhen trying to configure validation with the fluent interface
- Replace TypeScriptAdditionalFlags element in csproj files with specific elements
- Problem navigating to wizard steps as they are getting activated
- Changing the Id value at runtime
- aurelia-typescript/aurelia-vs-ts/ exhibits duplicate export bug
- please support @types
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aurelia-typescript.