Closed rynop closed 5 years ago
If you do tns create HelloWorld --template tns-template-blank-ng, install your module, and specify the following:
tns create HelloWorld --template tns-template-blank-ng
TNSFontIconModule.forRoot({ fa: './assets/fontawesome.css' })
Parsing CSS does not work. No error. This is because your prefix is relative to the path where main.ts is. app folder can be moved. Apps created with tns create instead need to load like this:
main.ts
app
tns create
TNSFontIconModule.forRoot({ fa: './app/assets/fontawesome.css' })
Thank you @rynop for this clarification 🤗
If you do
tns create HelloWorld --template tns-template-blank-ng
, install your module, and specify the following:Parsing CSS does not work. No error. This is because your prefix is relative to the path where
main.ts
is.app
folder can be moved. Apps created withtns create
instead need to load like this: