Open samliaw opened 5 years ago
I just put fontawesome.css
in src/fonts
dir then do:
imports: [
NativeScriptCommonModule,
TNSFontIconModule.forRoot({
fa: './fonts/fontawesome.css'
})
],
This way I don't have to tinker with webpack.config.js
(which gets auto-generated and updated frequently)
@NickIliev you are much more seasoned with NS - you see any downside to this approach?
Test With nativescript-dev-webpack.zip
Attached is a project excluding node_modules, platforms and hooks.
When I compile this project using this command "tns run android --emulator", I am able to see the icon. However, when i built it with nativescript-dev-webpack using this command "tns run android --bundle", I am not able to see the icon at all.
I try it with my existing project and it behaves the same.
There is no error on the screen.