Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular 19 #1645

Open
1 task done
EliseoPlunker opened this issue Dec 2, 2024 · 0 comments
Open
1 task done

Angular 19 #1645

EliseoPlunker opened this issue Dec 2, 2024 · 0 comments

Comments

@EliseoPlunker
Copy link

Describe the bug

No allow add styles in component, only use global styles is allowed.

Link to the blitz that caused the error

https://stackblitz.com/edit/stackblitz-starters-kgufne

Steps to reproduce

1.-Create a new Angular Project
2.-Add styles to your component so becames like

@Component({
  selector: 'app-root',
  styles:[`
       a{color:red}
  `],
  template: `
    <h1>Hello from {{ name }}!</h1>
    <a target="_blank" href="https://angular.dev/overview">
      Learn more about Angular
    </a>
  `,
})
export class App {
  name = 'Angular';
}

Expected behavior

Happens recently with Angular 19

Parity with Local

Screenshots

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant