Last change
on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.7 KB
|
Line | |
---|
1 | import { Component } from '@angular/core';
|
---|
2 |
|
---|
3 | @Component({
|
---|
4 | selector: '<%= selector %>',<% if(inlineTemplate) { %>
|
---|
5 | template: `
|
---|
6 | <!--The content below is only a placeholder and can be replaced.-->
|
---|
7 | <div style="text-align:center" class="content">
|
---|
8 | <h1>
|
---|
9 | Welcome to {{title}}!
|
---|
10 | </h1>
|
---|
11 | <span style="display: block">{{ title }} app is running!</span>
|
---|
12 | <img width="300" alt="Angular Logo" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg==">
|
---|
13 | </div>
|
---|
14 | <h2>Here are some links to help you start: </h2>
|
---|
15 | <ul>
|
---|
16 | <li>
|
---|
17 | <h2><a target="_blank" rel="noopener" href="https://angular.io/tutorial">Tour of Heroes</a></h2>
|
---|
18 | </li>
|
---|
19 | <li>
|
---|
20 | <h2><a target="_blank" rel="noopener" href="https://angular.io/cli">CLI Documentation</a></h2>
|
---|
21 | </li>
|
---|
22 | <li>
|
---|
23 | <h2><a target="_blank" rel="noopener" href="https://blog.angular.io/">Angular blog</a></h2>
|
---|
24 | </li>
|
---|
25 | </ul>
|
---|
26 | <% if (routing) {
|
---|
27 | %><router-outlet></router-outlet><%
|
---|
28 | } %>
|
---|
29 | `,<% } else { %>
|
---|
30 | templateUrl: './app.component.html',<% } if(inlineStyle) { %>
|
---|
31 | styles: []<% } else { %>
|
---|
32 | styleUrls: ['./app.component.<%= style %>']<% } %>
|
---|
33 | })
|
---|
34 | export class AppComponent {
|
---|
35 | title = '<%= name %>';
|
---|
36 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.