none
How to load jQuery-UI with Asp Core+ Angular 4 template from VS 2017 RRS feed

  • Question

  • I use Asp Core+webpack+ Angular 4 template from VS 2017.how do I load jQuery-UI, I put it to webpack.config.vendor.js:

    const treeShakableModules = [
        '@angular/animations',
        '@angular/common',
        '@angular/compiler',
        '@angular/core',
        '@angular/forms',
        '@angular/http',
        '@angular/platform-browser',
        '@angular/platform-browser-dynamic',
        '@angular/router',
        'font-awesome/css/font-awesome.css',
        'zone.js',
        'virtual-keyboard',
        'jquery-ui'                   //Here

    but I don't think it is correct

    what is the right way to include js/css files to webpack?

    thanks

    Wednesday, November 1, 2017 6:51 AM

All replies

  • Hi Johny27,

    This case also shared some information about how to make jquery UI works in MVC 6 project:

    https://stackoverflow.com/questions/35554499/where-are-jquery-ui-scripts-stored-in-mvc6-project

    Best Regards,

    Jack


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, November 6, 2017 7:51 AM
  • Hi Johny27,

    This forum discusses and asks questions about extending and integrating with Visual Studio, since your issue is more related to asp.net core, I would suggest that you could post your issue on asp.net core forum for suitable support.

    https://forums.asp.net/1255.aspx/1?ASP+NET+Core

    Best regards,

    Zhanglong Wu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, November 22, 2017 9:23 AM