mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-11 21:33:02 -05:00
refactor: move libs
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { BtnDisabledDirective } from '@angular-challenges/decoupling/brain';
|
||||
import { BtnHelmetDirective } from '@angular-challenges/decoupling/helmet';
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
imports: [BtnDisabledDirective, BtnHelmetDirective],
|
||||
selector: 'app-root',
|
||||
template: `
|
||||
<button btnDisabled hlm>Coucou</button>
|
||||
`,
|
||||
})
|
||||
export class AppComponent {}
|
||||
BIN
apps/angular/33-decoupling-components/src/favicon.ico
Normal file
BIN
apps/angular/33-decoupling-components/src/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
13
apps/angular/33-decoupling-components/src/index.html
Normal file
13
apps/angular/33-decoupling-components/src/index.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>decoupling</title>
|
||||
<base href="/" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="icon" type="image/x-icon" href="favicon.ico" />
|
||||
</head>
|
||||
<body>
|
||||
<app-root></app-root>
|
||||
</body>
|
||||
</html>
|
||||
4
apps/angular/33-decoupling-components/src/main.ts
Normal file
4
apps/angular/33-decoupling-components/src/main.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import { bootstrapApplication } from '@angular/platform-browser';
|
||||
import { AppComponent } from './app/app.component';
|
||||
|
||||
bootstrapApplication(AppComponent).catch((err) => console.error(err));
|
||||
5
apps/angular/33-decoupling-components/src/styles.scss
Normal file
5
apps/angular/33-decoupling-components/src/styles.scss
Normal file
@@ -0,0 +1,5 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
/* You can add global styles to this file, and also import other style files */
|
||||
Reference in New Issue
Block a user