ugentec-framework-angular
Ugentec framework based on angular
Features
- ES6 syntax, managed with Prettier + Eslint and Stylelint
- Unit testing via Jest
- Angular v14
- Rxjs
Install
yarn add ugentec-framework-angular
// or
npm install ugentec-framework-angular
Requirements
Usage
import { ApiService } from 'ugentec-framework-angular';
import { Component, OnInit } from '@angular/core';
import { User } from './user';
@Component({
selector: 'login',
templateUrl: './login.component.html',
styleUrls: ['./login.component.css']
})
export class LoginComponent implements OnInit {
private user: User;
constructor(apiService: ApiService) { }
async ngOnInit() {
this.user = await this.apiService.getUser();
}
}