CopyPastor

Detecting plagiarism made easy.

Score: 0.8179191814805673; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2018-03-29
by Aftab Lala

Original Post

Original - Posted on 2017-09-09
by dave o grady



            
Present in both answers; Present only in the new answer; Present only in the old answer;

This is for .NET Core 2, after you create a SPA Project using dotnet new angular:
Go to the root of the project and install the package: npm install font-awesome --save. You should now see it in package.json dependencies.
After that go to webpack.config.vendor.js and add font awesome to the array under non tree shakable modules:
const nonTreeShakableModules = [ 'bootstrap', 'bootstrap/dist/css/bootstrap.css', 'es6-promise', 'es6-shim', 'event-source-polyfill', 'font-awesome/css/font-awesome.css', 'jquery', ];
Now we need to tell the webpack that we added this new package. So if you haven't done so before install this in the root of project with npm install --save-dev npm-install-webpack-plugin.
Finally, run this command in the root of project: webpack --config webpack.config.vendor.js
This is for .NET Core 2, after you create a SPA Project using `dotnet new angular`:
1. Go to the root of the project and install the package: `npm install font-awesome --save`. You should now see it in `package.json` dependencies.
1. After that go to `webpack.config.vendor.js` and add font awesome to the array under non tree shakable modules:
const nonTreeShakableModules = [ 'bootstrap', 'bootstrap/dist/css/bootstrap.css', 'es6-promise', 'es6-shim', 'event-source-polyfill', 'font-awesome/css/font-awesome.css', 'jquery', ];
1. Now we need to tell the webpack that we added this new package. So if you haven't done so before install this in the root of project with `npm install --save-dev npm-install-webpack-plugin`.
1. Finally, run this command in the root of project: `webpack --config webpack.config.vendor.js`




        
Present in both answers; Present only in the new answer; Present only in the old answer;