I installed a plug-in through the npm package. The plug-in relies on jquery, so will jquery be loaded into my project when I finally package it through webpack?
I installed a plug-in through the npm package. The plug-in relies on jquery, so will jquery be loaded into my project when I finally package it through webpack?
depends on how the dependency is. If it is a logical dependency of the code, it will not be automatically packaged. It has to be displayed in package.json to write dependencies. And refer to it in the code before it can be packaged normally
Previous: How does the definition of throttling look like anti-shake in javascript advanced programming?
Next: Wrong number of arguments (given 1, expected 0) ruby on rails
after testing, under the premise that vue-cli has been installed, vue-cli can be initialized but npm install cannot be installed after vue init webpack execution this error will also be reported if vue-cli, is not installed and vue-cli is installed ...
download the package through cnpm I and start the project normally for the first time. An error will be reported if the correction is changed and the startup is changed. indicates that the package is missing, as shown in the figure. I can understand th...