npm run serve:ssr funktioniert und Hamburger Menu bug fix
This commit is contained in:
24
bizmatch/src/app/components/test-ssr/test-ssr.component.ts
Normal file
24
bizmatch/src/app/components/test-ssr/test-ssr.component.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-test-ssr',
|
||||
standalone: true,
|
||||
template: `
|
||||
<div>
|
||||
<h1>SSR Test Component</h1>
|
||||
<p>If you see this, SSR is working!</p>
|
||||
</div>
|
||||
`,
|
||||
styles: [`
|
||||
div {
|
||||
padding: 20px;
|
||||
background: #f0f0f0;
|
||||
}
|
||||
h1 { color: green; }
|
||||
`]
|
||||
})
|
||||
export class TestSsrComponent {
|
||||
constructor() {
|
||||
console.log('[SSR] TestSsrComponent constructor called');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user