Update Aurelia.md
This commit is contained in:
parent
736beecd7a
commit
5df177c10e
@ -28,7 +28,7 @@
|
||||
|
||||
aurelia.start().then(() => aurelia.setRoot());
|
||||
}
|
||||
```
|
||||
```
|
||||
|
||||
|
||||
```typescript
|
||||
@ -41,11 +41,11 @@
|
||||
|
||||
aurelia.start().then(() => aurelia.setRoot());
|
||||
}
|
||||
```
|
||||
```
|
||||
|
||||
### Explicit Startup Configuration
|
||||
|
||||
```javascript
|
||||
```javascript
|
||||
import {LogManager} from 'aurelia-framework';
|
||||
import {ConsoleAppender} from 'aurelia-logging-console';
|
||||
|
||||
@ -62,7 +62,7 @@
|
||||
|
||||
aurelia.start().then(() => aurelia.setRoot('app', document.body));
|
||||
}
|
||||
```
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
@ -87,7 +87,7 @@
|
||||
```
|
||||
|
||||
### Configuring A Feature
|
||||
```jaavascript
|
||||
```jaavascript
|
||||
export function configure(aurelia) {
|
||||
aurelia.use
|
||||
.standardConfiguration()
|
||||
@ -110,7 +110,7 @@
|
||||
|
||||
aurelia.start().then(() => aurelia.setRoot());
|
||||
}
|
||||
```
|
||||
```
|
||||
|
||||
<code-listing heading="Installing a Plugin">
|
||||
<source-code lang="ES 2015/2016">
|
||||
|
Loading…
Reference in New Issue
Block a user