Angular v19
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-test',
|
||||
template: `<h1>Yes! You have access to the admin component.</h1>`
|
||||
selector: 'app-test',
|
||||
template: `<h1>Yes! You have access to the admin component.</h1>`,
|
||||
standalone: false
|
||||
})
|
||||
export class AdminComponent {
|
||||
}
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
template:'<fm-app></fm-app>'
|
||||
selector: 'app-root',
|
||||
template: '<fm-app></fm-app>',
|
||||
standalone: false
|
||||
})
|
||||
export class AppRootComponent {
|
||||
title = 'FarmMaps';
|
||||
|
||||
@@ -3,9 +3,10 @@ import { ItemService} from '@farmmaps/common';
|
||||
import { Observable} from 'rxjs';
|
||||
|
||||
@Component({
|
||||
selector: 'app-test',
|
||||
templateUrl: './landingpage.component.html',
|
||||
styleUrls: ['./landingpage.component.scss']
|
||||
selector: 'app-test',
|
||||
templateUrl: './landingpage.component.html',
|
||||
styleUrls: ['./landingpage.component.scss'],
|
||||
standalone: false
|
||||
})
|
||||
export class LandingpageComponent implements OnInit {
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-logo',
|
||||
template: '<span><img src="/images/farmmapslogo.png" /></span>',
|
||||
styles:['img {max-height:100%;max-width:100%;align-self:center;}']
|
||||
selector: 'app-logo',
|
||||
template: '<span><img src="/images/farmmapslogo.png" /></span>',
|
||||
styles: ['img {max-height:100%;max-width:100%;align-self:center;}'],
|
||||
standalone: false
|
||||
})
|
||||
export class LogoComponent implements OnInit {
|
||||
|
||||
|
||||
@@ -5,9 +5,10 @@ import {StateSerializerService} from '@farmmaps/common';
|
||||
import { tassign } from 'tassign';
|
||||
|
||||
@Component({
|
||||
selector: 'app-menu',
|
||||
templateUrl: './menu.component.html',
|
||||
styleUrls: ['./menu.component.scss']
|
||||
selector: 'app-menu',
|
||||
templateUrl: './menu.component.html',
|
||||
styleUrls: ['./menu.component.scss'],
|
||||
standalone: false
|
||||
})
|
||||
export class MenuComponent {
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'registerdevice',
|
||||
templateUrl: './registerdevice.component.html',
|
||||
styleUrls: ['./registerdevice.component.scss']
|
||||
selector: 'registerdevice',
|
||||
templateUrl: './registerdevice.component.html',
|
||||
styleUrls: ['./registerdevice.component.scss'],
|
||||
standalone: false
|
||||
})
|
||||
export class RegisterDeviceComponent implements OnInit {
|
||||
|
||||
|
||||
@@ -5,9 +5,10 @@ import { commonActions } from '@farmmaps/common';
|
||||
import { Store } from '@ngrx/store';
|
||||
|
||||
@Component({
|
||||
selector: 'app-test',
|
||||
templateUrl: './test.component.html',
|
||||
styleUrls: ['./test.component.scss']
|
||||
selector: 'app-test',
|
||||
templateUrl: './test.component.html',
|
||||
styleUrls: ['./test.component.scss'],
|
||||
standalone: false
|
||||
})
|
||||
export class TestComponent implements OnInit {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user