官术网_书友最值得收藏!

npm

npm is a package manager for JavaScript. It includes a command-line tool, coincidentally called npm, and it uses an online repository known as the npm registry to find, retrieve and deploy new packages your code might need. The SharePoint Framework uses npm packages in the base template you'll typically be using. In addition, new SharePoint Framework templates and functionality will be published as npm packages.

Think of npm as the tool that allows you to interact with a vast library of pre-made packages, that in turn will aid you in building SharePoint Framework packages. The rough equivalent of npm in the .NET world would be NuGet.

For example, the package named @microsoft/sp-client-base is a base package that the SharePoint Framework uses in the base project template, and the latest stable version will be automatically fetched from the npm repository at https://www.npmjs.com/package/@microsoft/sp-core-library.

You can find more information on npm at https://www.npmjs.com/.
主站蜘蛛池模板: 南郑县| 军事| 班戈县| 天全县| 穆棱市| 平度市| 安吉县| 边坝县| 城口县| 遵义县| 娄底市| 荆门市| 肇州县| 新巴尔虎右旗| 永寿县| 江孜县| 桐梓县| 承德县| 楚雄市| 洮南市| 高碑店市| 祁东县| 若尔盖县| 隆尧县| 蒲江县| 吉隆县| 淮北市| 策勒县| 兴业县| 正阳县| 梓潼县| 乌苏市| 翼城县| 金华市| 安仁县| 涿州市| 南木林县| 兴义市| 满洲里市| 都兰县| 满洲里市|