0 Replies - 311 Views - Last Post: 31 October 2017 - 11:54 PM Rate Topic: -----

#1 mrapi  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 27
  • Joined: 27-November 13

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

Posted 31 October 2017 - 11:54 PM

Hi
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

Is This A Good Question/Topic? 0
  • +

Page 1 of 1