jquery-validation missing dist folder

后端 未结 2 1977
天涯浪人
天涯浪人 2021-02-14 11:17

I am trying to add jquery-validation to a project in visual studio 2015. When I add \"jquery-validation\" to bower.json I see that the jquery-validation folder is added to wwwro

2条回答
  •  太阳男子
    2021-02-14 11:53

    I had a similar issue and was able to fix it by installing grunt globally then running npm install in the jquery-validation folder:

    1. Open node js command prompt and run npm install -g grunt
    2. In any command prompt (I used developer command prompt from VS) navigate to jquery-validation folder and run npm install

    Afterwards, the jquery-validation\dist folder should show up with the jquery.validate.js file.

提交回复
热议问题