Quick Install Guide
Get Aurelia running in under 5 minutes with this quick installation guide.
Prerequisites
Option 1: Try Aurelia Instantly (No Setup Required)
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>Aurelia 2 Quick Try</title>
<base href="/" />
<link rel="dns-prefetch" href="//cdn.jsdelivr.net">
<link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin>
<link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/aurelia@latest/+esm" crossorigin fetchpriority="high">
</head>
<body>
<app-root></app-root>
<script type="module">
import { Aurelia, CustomElement } from 'https://cdn.jsdelivr.net/npm/aurelia@latest/+esm';
const App = CustomElement.define({
name: 'app-root',
template: `
<h1>Hello, \${name}!</h1>
<input value.bind="name" placeholder="Enter your name">
<p>You typed: \${name}</p>
`
}, class {
name = 'World';
});
new Aurelia()
.app({ component: App, host: document.querySelector('app-root') })
.start();
</script>
</body>
</html>Option 2: Create Your App
Run Your App
Verify Everything Works
What's Next?
Recommended Reading
Core Concepts (Optional Reading)
Last updated
Was this helpful?