mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 05:43:39 +08:00
eb94ec16da
The gjs/gts formats are a new pattern for authoring Ember components. This commit introduces support for these patterns to our build pipeline for core/plugins, and converts a handful of components to use the new format. It also introduces relevant updates to our linting config, and to our sample vscode configuration. Co-authored-by: Godfrey Chan <godfreykfc@gmail.com> Co-authored-by: Krystan HuffMenne <kmenne+github@gmail.com>
16 lines
328 B
JavaScript
16 lines
328 B
JavaScript
import { tagName } from "@ember-decorators/component";
|
|
import Component from "@ember/component";
|
|
|
|
@tagName("")
|
|
export default class AdminNav extends Component {
|
|
<template>
|
|
<div class="admin-controls">
|
|
<nav>
|
|
<ul class="nav nav-pills">
|
|
{{yield}}
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
</template>
|
|
}
|