Skip to content
This repository has been archived by the owner on May 8, 2023. It is now read-only.

Using with angular 4 #4

Closed
Jonatthu opened this issue May 11, 2017 · 1 comment
Closed

Using with angular 4 #4

Jonatthu opened this issue May 11, 2017 · 1 comment

Comments

@Jonatthu
Copy link

How can I configure this in angular + ns?

import * as application from 'application';
import {TNSFontIcon, fonticon} from 'nativescript-fonticon';

TNSFontIcon.debug = true; <-- Optional. Will output the css mapping to console.
TNSFontIcon.paths = {
  'fa': 'font-awesome.css',
  'ion': 'ionicons.css'
};
TNSFontIcon.loadCss();

application.resources['fonticon'] = fonticon;
application.start({ moduleName: 'main-page' });
@Jonatthu Jonatthu changed the title Using with angular Using with angular 4 May 11, 2017
@Jonatthu
Copy link
Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant