zoukankan      html  css  js  c++  java
  • node--cli

    1 js 包管理工具

    一般使用的有 npm cnpm yarn,推荐使用yarn(个人喜好)

    2 替换源

    为了避免被墙引发的错误,下载包时的速度,使用淘宝镜像

    npm config set registry=https://registry.npm.taobao.org
    

    3 使用 yarn

    安装 yarn

    npm install yarn -g
    

    设置源

    yarn config set registry https://registry.npm.taobao.org
    

    4 使用 cnpm

    添加方式和 yarn 类似

    Created: 2019-12-20 周五 19:03

    Validate

  • 相关阅读:
    mysql启动时报错:Starting MySQL... ERROR! The server quit without updating PID file (/opt/mysql/data/mysql.pid)
    awk技巧【转】
    在分析nginx日志时常用命令总结【转】
    mybatis 详解(八)------ 懒加载
    mybatis 详解(七)------一对一、一对多、多对多
    mybatis 详解(六)------通过mapper接口加载映射文件
    mybatis 详解(五)------动态SQL
    mybatis 详解(四)------properties以及别名定义
    mybatis 详解(三)------入门实例(基于注解)
    mybatis 详解(二)------入门实例(基于XML)
  • 原文地址:https://www.cnblogs.com/heidekeyi/p/12017679.html
Copyright © 2011-2022 走看看