Skip to content
Aurelia 2, a standards-based, front-end framework designed for high-performing, ambitious applications.
TypeScript HTML JavaScript Other
Branch: master
Clone or download

Latest commit

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci chore(aot): fix circleci Dec 18, 2019
.github chore: added organization funding Nov 7, 2019
.vscode chore(scheduler): add scheduler test launch config Apr 2, 2020
docs Merge branch 'master' into styles-improvements Mar 25, 2020
examples Update all dependencies Dec 22, 2019
packages Merge branch 'master' into custom-element-name Apr 3, 2020
scripts chore(all): remove kernel dep from build script Apr 1, 2020
test chore(all): sync deps Dec 22, 2019
.codeclimate.yml chore: disable codeclimate Mainenance Checks Oct 8, 2019
.editorconfig chore(all): export / mark as internal (for unit testing) + enable str… Aug 2, 2018
.eslintignore chore: lint other directories than packages as well Oct 6, 2019
.eslintrc.js feat(validation): serialization support Feb 22, 2020
.gitattributes feature/line-endings-3 (#51) Aug 2, 2018
.gitbook.yaml docs(all): experiment 1 with gitbooks Aug 31, 2019
.gitignore build: switch from tslint to eslint Sep 30, 2019
.gitmodules test(aot): add test262 suite as a git submodule Nov 7, 2019
LICENSE doc(license): update year Feb 2, 2020
README.md docs: update the discord link Apr 3, 2020
lerna.json chore(scheduler): add scheduler-dom and scheduler-node package configs Apr 1, 2020
package-lock.json chore(plugin-conventions): upgrade to latest modify-code Apr 2, 2020
package.json chore(plugin-conventions): upgrade to latest modify-code Apr 2, 2020
renovate.json chore: downgrade chrome Nov 14, 2019
tsconfig.json chore(tsconfig): enable experimentalDecorators in toplevel tsconfig Oct 27, 2019

README.md

Aurelia

License: MIT npm version CircleCI TypeScript Twitter

lerna Maintainability Test Coverage Commitizen friendly

Backers on Open Collective Sponsors on Open Collective

Aurelia 2

This is the Aurelia 2 monorepo, containing core and plugin packages, examples, benchmarks, and documentation for the upcoming major version of everybody's favorite modern JavaScript framework, Aurelia.

Introduction

Aurelia is a modern, front-end JavaScript framework for building browser, mobile, and desktop applications. It focuses on aligning closely with web platform specifications, using convention over configuration, and having minimal framework intrusion. Basically, we want you to just write your code without the framework getting in your way. 😉

Aurelia applications are built by composing a series of simple components. By convention, components are made up of a vanilla JavaScript or Typescript class, with a corresponding HTML template.

//app.js
export class App {
  welcome = "Welcome to Aurelia";

  quests = [
    "To seek the holy grail",
    "To take the ring to Mordor",
    "To rescue princess Leia"
  ];
}
<!-- app.html -->
<form>
  <label for="name-field">What is your name?</label>
  <input id="name-field" value.bind="name & debounce:500">

  <label for="quest-field">What is your quest?</label>
  <select id="quest-field" value.bind="quest">
    <option></option>
    <option repeat.for="q of quests">${q}</option>
  </select>
</form>

<p if.bind="name">${welcome}, ${name}!</p>
<p if.bind="quest">Now set forth ${quest.toLowerCase()}!</p>

This example shows you some of the powerful features of the aurelia binding syntax. To learn further, please see our documentation.

Feeling excited? Check out how to use makes to get started in the next section.

Note: Please keep in mind that Aurelia 2 is still in pre-alpha. A number of features and use cases around the public API are still untested and there will be a few more breaking changes.

Getting Started

First, ensure that you have Node.js v8.9.0 or above installed on your system. Next, using npx, a tool distributed as part of Node.js, we'll create a new Aurelia 2 app. At a command prompt, run the following command:

npx makes aurelia

This will cause npx to download the makes scaffolding tool, along with the aurelia generator, which it will use to guide you through the setup process. Once complete, you'll have a new Aurelia 2 project ready to run. For more information on Aurelia's use of makes, see here. If you aren't interested in taking our preferred approach to generating a project, you can also see the examples folder in this repo for pure JIT setups (no conventions) with various loaders and bundlers.

Documentation

You can read the documentation on Aurelia 2 here. Our new docs are currently a work-in-progress, so the most complete documentation is available in our getting started section. If you've never used Aurelia before, you'll want to begin with our Quick Start Guide.

Contributing

If you are interested in contributing to Aurelia, please see our contributor documentation for more information. You'll learn how to build the code and run tests, how best to engage in our social channels, how to submit PRs, and even how to contribute to our documentation. We welcome you and thank you in advance for joining with us in this endeavor.

Staying Up-to-Date

To keep up to date on Aurelia, please visit and subscribe to the official blog and our email list. We also invite you to follow us on twitter. If you have questions, have a look around our Discourse forum. For chat on Aurelia 2, join our new Aurelia 2 community on Discord. If you'd like to join the growing list of Aurelia sponsors, please back us on Open Collective.

License

Aurelia is MIT licensed. You can find out more and read the license document here.


Cross-browser testing provided by:

BrowserStack

You can’t perform that action at this time.