mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-20 16:53:33 +00:00
docs: add ViewEncapsulation to Angular example (#5395)
Refs: https://v17.angular.io/api/core/ViewEncapsulation
This commit is contained in:
parent
b332e83444
commit
4e4781dd59
1 changed files with 3 additions and 0 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue