|
"scripts": {
"test": "karma start ClientApp/test/karma.conf.js",
"webpack": "node ./node_modules/webpack/bin/webpack.js"
}, |
Hi Jeffrey,Thanks for contacting Syncfusion support,As per your requirement we have created the sample with Webpack . It will resolve the modules implicitly. While using the Webpack no need for any special configuration to load Syncfusion ej2-ng-grids package . it will resolved by webpack implicitlyIn this sample we have included the webpack in package.json like in below code example
"scripts": {"test": "karma start ClientApp/test/karma.conf.js","webpack": "node ./node_modules/webpack/bin/webpack.js"},Please refer the below sample for your reference:For running this sample refer the below commands.1.npm install2. npm run webpack && dotnet runRegards,Isuriya R
|
Sample-location\node_modules\@syncfusion\ej2-grids\styles\material.css
Example :
D:\Angular -2017 sample\node_modules\@syncfusion\ej2-grids\styles\material.css
|
|
<link rel="stylesheet" rel='nofollow' href="~/material.css" /> @*we added the style in wwwroot folder and we refer from that location*@
|