Starts in:
2 DAYS
1 HR
47 MIN
36 SEC
Starts in:
2 D
1 H
47 M
36 S
Open Closed

Updating chart.js version #2107


User avatar
0
bozkan created
  • ABP Framework version: v4.3.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

As the following link states; https://support.abp.io/QA/Questions/858/How-can-I-create-a-new-angular-dashboard-widget-in-abpio-Documentation-is-only-for-Mvc chart.js is being loaded under the hood by ThemeSharedModule. But in our current project its version is v2.9.4. How can I update its version to a recent version?


1 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi @bozkan, you can add resolutions section to your package.json file and specify the version of the package you want.

    For more info about resolutions system of yarn, see here

    {
        "name": "Acme.BookStore",
        "dependencies": {
          //...
        }
        "resolutions": {
            "chart.js": "<specify_version>",
        }
    }
    

    Then run the yarn and gulp command on your terminal.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06