ngx-voyage
is a File Explorer component for Angular and PrimeNG.
Demo and docs: https://mschn.github.io/ngx-voyage/
Install ngx-voyage
with npm
:
npm install ngx-voyage highlight.js
You will need to have @angular/core
, primeng
and highlight.js
as they are peer dependencies.
Then you can use <ngx-voyage>
in your app:
import { NgxVoyageComponent } from "ngx-voyage";
@Component(
738A
{
selector: "app-root",
imports: [NgxVoyageComponent],
template: '<ngx-voyage [path]="/home" [files]="[]"></ngx-voyage>',
})
export class AppComponent {}