jQuery UI Widgets Forums Angular ng add jqwidgets-ng


This topic contains 2 replies, has 2 voices, and was last updated by  sshintaku 2 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • ng add jqwidgets-ng #120915


    The above ng add command doesn’t seem to add the components into my project. Can someone please tell me what I am doing wrong. According to the doc, it was suppose to do the following: (Thanks in advance)

    The ng add jqwidgets-ng command executes the following actions:

    Adds the jqwidgets-ng package as a dependency.
    Imports the Modules in the current application module.
    Registers the default jQWidgets UI theme in the angular.json file.
    Add Roboto fonts to your index.html
    Add the Material Icon font to your index.html
    Add global styles to
    Remove margins from body
    Set height: 100% on html and body
    Make Roboto the default font of your app
    Adds all required peer dependencies to package.json.
    Triggers npm install to install the theme and all peer packages that are added.

    ng add jqwidgets-ng #120917



    Just tried the https://www.jqwidgets.com/angular-components-documentation/ tutorial with Angular 12. ng add jqwidgets-ng was working as expected. An option is that the global angular cli on your side is older and does not support the ng add command. I would suggest you to use npm install instead and follow the steps in the tutorial.

    Best regards,
    Peter Stoev

    jQWidgets Team

    ng add jqwidgets-ng #120936


    Thank you. I did try it again and it worked so don’t know what happened the first time. Thanks again!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.