Closed
Description
Hello.
I am using the ng-lightning module on my project. To work well, I had to import the vendor css from the package in the main styles.css file with "@import".
@import "../node_modules/myPackage/assets/styles/style.min.css"
But to work better, I need assets/icons folders from the package. How to include them ?
node_modules/myPackage/assets/icons // subfolders of svg files
ng-lightning
use a path to svg folder at the import. I can't give a node_modules/* path
import { NglModule } from 'ng-lightning/ng-lightning';
@NgModule({
imports: [
NglModule.forRoot({ svgPath: 'path_to_include_svg_folder' })
]
bootstrap: [AppComponent]
})
Metadata
Metadata
Assignees
Labels
No labels