Side-by-side comparison
Bootstrapping
The hosting page
<!-- index.ejs -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Aurelia</title>
</head>
<body aurelia-app="main">
<script src="scripts/vendor-bundle.js"
data-main="aurelia-bootstrapper"></script>
</body>
</html><!-- index.ejs -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Aurelia</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<my-app></my-app>
</body>
</html>// webpack.config.js
// ...
entry: test ? './test/all-spec.ts' : './src/main.ts' /*Here*/,
// ...The main module
Components
The Root Component
The Component Life-cycle
Name
Aurelia 1
Asyncable
Description
Name
When using it
Dependency injection
Registering services
Aurelia 1
Aurelia 2
Description
Resolving services
Aurelia 1
Aurelia 2
Description
Registration strategies
Name
Aurelia 1 & 2
Description
Resolvers
Aurelia 1
Aurelia 2
Description
Logging
Router
Routing Life-cycle
Name
Description
Name
Aurelia 1
Asyncable
Description
Binding
String Interpolation
Name
Aurelia 1 & 2
Description
Binding HTML and SVG Attributes
Name
Aurelia 1 & 2
Description
Referencing DOM Elements
Name
Aurelia 1 & 2
Description
Passing Function References
Name
Aurelia 1 & 2
Description
DOM Events
Name
Aurelia 1 & 2
Description
Contextual Properties
Name
Aurelia 1 & 2
Description
Name
Aurelia 1 & 2
Description
Name
Aurelia 1
Aurelia 2
Description
@computedFrom
Aurelia 1
Aurelia 2
Observation in template
type
example
type
Aurelia 1
Aurelia 2
@attributePattern
Last updated
Was this helpful?