dbiele / typescript-cordova-systemjs-angular2-beta Goto Github PK
View Code? Open in Web Editor NEWVS2015 project created using TypeScript, Cordova, SystemJS, Angular beta
VS2015 project created using TypeScript, Cordova, SystemJS, Angular beta
The current angular2 version here is beta. Do you have any idea to upgrade it to angular 2.0.1? I did it base on your current project, but a lot of errors that i could not control.
Add Karma test runner.
Create minimum code example to demonstrate Karma features.
In your index.html
<script src="cordova.js"></script>I'm also serving the www folder to the web for browsers, and after added this, it gives me 404 all the time (of course it does).
How to dynamically include this file based on platform?
Or if possible, I would prefer to add this when I do cordova build. Is this possible?
Thank you very much!
From a cursory look, I do not not think the exclude
property in tsconfig.json is pointing to the correct location. if i were to guess, i would say folder: https://github.com/dbiele/TypeScript-Cordova-SystemJS-Angular2-beta/tree/master/CODE/scripts/tests was the one meant to be excluded. if this is the case, then the value should be "tests"
instead of "../www/scripts/tests/"
. also looks like the rootDir
is using an unnecessary long form to mean "."
.
After opening the Project with Visual Studio '15 and downloading letting all the npm dependencies install, clicking on Ripple Start Botton to debug the app the following error message shows up:
TS2661 Build: Cannot re-export name that is not defined in the module. cordova-angular C:\Data\Work\TypeScript-Cordova-SystemJS-Angular2-beta-master\node_modules\angular2\src\facade\promise.d.ts 1
Trying to fix this error by adding:
declare var Promise: PromiseConstructor;
to the promise.d.ts file did get rid of the error message but when the application starts it dies nof find app.component.html
I tried to update angular2 to the latest version: 2.0.0-beta.12
But after that all sort of errors are showing up.
I am at the beginning of this so i am no big help in solving this issue.
Do you have any advice?
Create code to work with Travis CI service
Adding Jasmine test framework to project code.
Adding sample jasmine test files
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.