Blazor Using NPM Packages
Blazor Using NPM Packages Create a new folder named npm_packages in your Blazor project.
Open the npm_packages folder directory via command prompt and run the following command to initialize NPM in the application:
npm init -y This will create a new package.json file in the npm_packages directory.
Install the webpack and webpack-cli packages as development dependencies by running the following command: npm install webpack webpack-cli --save-dev Modify the scripts section of the package.