Third Party Plugins

How to Add a New Third-Party Plugin?

We have added all layouts files in the wwwroot/assets/js folder.

  • Install the plugin with the command i.e. yarn add package-name or npm i package-name --save
  • Run the gulp command so it will copy the package's dist folder in the dist/assets/libs/package-name
  • You can add plugin's css or js path from /assets/libs/package-name/package-name.min.css
  • You can add the custom scss for particular plugins then add it in the wwwroot/assets/scss/plugins folder. Create a file with the package-name.scss file. Also you have to import this file in the wwwroot/assets/scss/app.scss file.
How to Remove a Third-Party Plugin?

You have to simply remove the package from the package.json file and remove all the css or js files links from the HTML pages where you have used.

2025 © Skote.