-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$(...) pivot is not a function in jquery + angular 4 + webpack Compiled successfully #884
Comments
Posting screenshots of code makes it almost impossible to help you. Can you post a minimal repo or something so that someone can try to execute the code you're wanting help with? |
We had a similar issue and we had to set jquery to global scope in webpack. We added this to the config.modules: Also we imported jquery different: |
Hey guys, i am not professional in Angular, but I have a project in angular and need in this case a pivot table. This module unfortionattly is for angularjs and i`m working with angular 4. Could you help me please, how can I make this for my ptoject. |
Hi, actually this project just uses jquery and not angularjs. |
@FloPrey already imported jquery and jquery-ui
|
should we close this issue? |
If your needs are met yes we can close this issue. Note that there is a long discussion of Angular integration here: #208 |
@vaibhav2018 |
index.html
pivot.component.html
pivot.component.ts
angular-cli.json
package.json
webpack compiled successfully
localhost:4200/pivot
app.component.ts
import { Component } from '@angular/core';
import * as $ from 'jquery';
@component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'app';
}
app.component.html
I was able to follow some steps to achieve this but still getting error.
Not sure how it can be solved.
Please help guys.
The text was updated successfully, but these errors were encountered: