jQuery UI Widgets Forums Angular Visual Studio Cordova Project

This topic contains 1 reply, has 2 voices, and was last updated by  lqbweb 6 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Visual Studio Cordova Project #88394


    Where in my project’s directory structure do I put the jqwidgets-ts folder to not get the error “Cannot find module @angular/core”. I have the @angular folder in my node-modules folder. I have the jdwidgets-ts folder currently in the scripts\typings folder.


    Visual Studio Cordova Project #88396


    You could place the jqwidgets-ts in your node-modules folder, to make automatic resolution work in typescript

    Have a look here:

    If you put it somewhere else, you need to specify in the import the relative path from your tsconfig.json.

    Also, now you could link jqwidgets using npm in your package.json, as the typescript definitions are also there.

    • This reply was modified 6 years, 3 months ago by  lqbweb.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.