Skip to content

Commit

Permalink
fix: add missing styleUrls in ngx-flicking (#816)
Browse files Browse the repository at this point in the history
* fix: add missing styleUrls in ngx-flicking

* fix: remove deprecated relativeLinkResolution
  • Loading branch information
malangfox authored Jul 7, 2023
1 parent ef4f095 commit f597359
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ngx-flicking/projects/demo/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const appRoutes: Routes = [
imports: [
BrowserModule,
NgxFlickingModule,
RouterModule.forRoot(appRoutes, { enableTracing: false, relativeLinkResolution: 'legacy' })
RouterModule.forRoot(appRoutes, { enableTracing: false })
],
providers: [],
bootstrap: [AppComponent]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ import NgxElementProvider from './NgxElementProvider';
class: 'flicking-viewport',
style: 'display: block;',
},
styleUrls: [
"../../node_modules/@egjs/flicking/dist/flicking.css"
],
encapsulation: ViewEncapsulation.None,
standalone: true,
imports: [CommonModule],
Expand Down

0 comments on commit f597359

Please sign in to comment.