Skip to content

Instantly share code, notes, and snippets.

@ZoolWay
Last active August 25, 2016 14:13
Show Gist options
  • Save ZoolWay/fbdd134eb595d69d9784cc2a7bcf83ef to your computer and use it in GitHub Desktop.
Save ZoolWay/fbdd134eb595d69d9784cc2a7bcf83ef to your computer and use it in GitHub Desktop.
Aurelia Template
export class App {
message = 'Aurelia Template';
}
<template>
<h1>${message}</h1>
</template>
export class App {
public message: string = 'Aurelia Template from TypeScript';
}
<!doctype html>
<html>
<head>
<title>Aurelia</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body aurelia-app>
<h1>Loading...</h1>
<script src="https://cdn.rawgit.com/jdanyow/aurelia-bundle/v1.0.3/jspm_packages/system.js"></script>
<script src="https://cdn.rawgit.com/jdanyow/aurelia-bundle/v1.0.3/config.js"></script>
<script>
System.import('aurelia-bootstrapper');
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment