Skip to content

Instantly share code, notes, and snippets.

@tkhyn
Last active July 23, 2017 03:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tkhyn/54910c7e5b0c0de41236ae7477c513ae to your computer and use it in GitHub Desktop.
Save tkhyn/54910c7e5b0c0de41236ae7477c513ae to your computer and use it in GitHub Desktop.
Aurelia hello world
<template>
<h1>${text}</h1>
</template>
export class App {
text = 'Hello World!';
}
<!doctype html>
<html>
<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