Angular 6 + jQuery + fullpage.js
1
I am trying to use fullpage.js without ngx-fullapge and I am facing some issues relating to imports: First it seems that jquery does not work, even though the package is setup... In a very simple AppComponent class definition I have: import { Component, OnInit } from '@angular/core'; import * as $ from 'jquery'; import * as fullpagejs from 'fullpage.js'; @Component({ selector: 'my-app', templateUrl: './app.component.html', styleUrls: [ './app.component.css' ], }) export class AppComponent implements OnInit { public items = [1, 2, 3]; public ngOnInit() : void { $('#fullpage') } } with a very simple template: <div id="fullpage"> <div class="section" id="landing"> Lan