We recommend using @angular/cli to install. It not only makes development easier, but also allows you to take advantage of the rich ecosystem of angular packages and tooling.
$ ng new PROJECT_NAME
$ cd PROJECT_NAME
$ ng add @pranxy/zordon-uiMore information about
@angular/clihere.
You can also install @pranxy/zordon-ui with npm or yarn
$ npm install @pranxy/zordon-uiImport the component into your feature component.
import { ZdButton } from '@pranxy/zordon-ui/button';
@Component({
imports: [ZdButton],
})
export class AppComponent {}
@angular/cliusers won't have to worry about the things below but it's good to know.
And import style and SVG icon assets file link in angular.json.
{
],
"styles": [
+ "node_modules/@pranxy/zordon-ui/zordon-ui.min.css"
]
}