You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 8, 2023. It is now read-only.
I added the Javascript code to my app.js file and followed the instructions, however, I am getting this error:
file:///app/app.js:16:22: JS ERROR TypeError: undefined is not an object (evaluating 'application.resources['fonticon'] = fonticon')
Here is the code for my app.js file:
require("./bundle-config");
var application = require('application');
var fiAll = require('nativescript-fonticon');
var TNSFontIcon = fiAll.TNSFontIcon;
var fonticon = fiAll.fonticon;
TNSFontIcon.debug = true; // Optional. Will output the css mapping to console.
TNSFontIcon.paths = {
'fa': 'font-awesome.css',
'ion': 'ionicons.css'
};
TNSFontIcon.loadCss();