Skip to content

Commit

Permalink
docs: add ViewEncapsulation to Angular example (#5395)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-russell authored Aug 15, 2024
1 parent b332e83 commit 4e4781d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/framework-integrations/angular.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,11 @@ decorator. You can find the CSS import statements in the docs of the UI plugin
you want to use. For instance, for `@uppy/dashboard`:

```typescript
import { Component, ViewEncapsulation } from '@angular/core';
//...
@Component({
// ...
encapsulation: ViewEncapsulation.None,
styleUrls: [
'../node_modules/@uppy/core/dist/style.css',
'../node_modules/@uppy/dashboard/dist/style.css',
Expand Down

0 comments on commit 4e4781d

Please sign in to comment.