I want to use PrimeNG calendar in my app. When I run the code, I get the error:
ReferenceError: jQuery is not defined.
Other P
You can also add just this:
Or, if you're using the angular-cli like me you can npm i primeui
and add this to your angular-cli.json
:
"scripts": ["../node_modules/primeui/primeui-ng-all.min.js"]
Update
in beta.19
The dependency of JQuery has been removed.
Reference: http://blog.primefaces.org/?p=4149