Closed joeypx closed 6 years ago
I think #81 might have "broken" this since it's now expected to be passed in when you initialize the module. Would it be possible to do it from your module?
Thanks for the super fast reply and the hint. Working like a charm - resolved as follows:
import { environment } from '../environments/environment';
@NgModule({
...,
imports: [
...,
InlineSVGModule.forRoot({ baseUrl: environment.baseUrl })
],
...
})
Cheers, Joey
I appreciate ng-inline-svg very much, thank you!
Trying to implement it along with Universal in Angular 6 and your Release 8.0.0, I ran into an error. Is there missing the argument in your svg-cache.service.ts?
app-load.service.ts
Throws the error
Peeking into the definition, it seems the function is not supposed to receive arguments...
Thank you very much for your reply.
Joey