locked
Installing KnockoutJS on asp.net Core using VS2019, help needed RRS feed

  • Question

  • User1573143622 posted

    Hi ,

    Am trying to install knockoutjs on asp.net core web application, it got installed successully,using VS2019 .But when I search for the specific js in the project folder, couldn't find any. Being a beginner with core ,need your help.Thanks

    Thursday, April 9, 2020 9:01 PM

All replies

  • User711641945 posted

    Hi _divyaakula,

    it got installed successully,using VS2019 .But when I search for the specific js in the project folder, couldn't find any. Being a beginner with core ,need your help.Thanks

    knockoutjs is a client-side library. For client library,when you install the nuget package,it would not shown in your project.It would exist in `%UserProfile%\.nuget\package` by default.You could copy it to your project.

    Actually,Microsoft produce a lightweight, effective solution for web developers to easily manage common client-side library files——Libman.It could download the js to your project.

    For how to use Libman,refer to:

    https://stackoverflow.com/a/59606174/11398810

    Best Regards,

    Rena

    Friday, April 10, 2020 1:56 AM
  • User-474980206 posted

    Just follow these instructions   

      https://knockoutjs.com/downloads/index.html

    if you are not using a JavaScript build chain like gulp or web pack, I’d just use the cdn.

    Friday, April 10, 2020 2:53 AM