• vue-element-template模板项目使用记录(持续更新)


    1. npm 使用注意事项:

      a. node.js 使用 v8.16.0 版本,使用 v10 版本会有各种莫名其妙的报错

      b. 开箱先改淘宝镜像:

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

      c. 解决下载 node-sass 报错:

        npm set sass_binary_site=https://npm.taobao.org/mirrors/node-sass/

      d. npm config 相关命令:

        npm config set <key> <value>
        npm config get [<key>]
        npm config delete <key>
        npm config list [--json]
        npm config edit
        npm set <key> <value>
        npm get [<key>]

      e. 其它实用命令:

        npm cache clean --force

    1. mock 数据修改为使用自己的后台接口

    2. 修改 axios 的 baseURL 配置注意事项

    3. 解决开发环境启动时打开两次页面问题

  • 相关阅读:
    Animation用法
    英文口语及书写常用句型汇总1
    Jqplot使用总结之二(双Y轴)
    SqlServer扩展存储过程
    SQL Server常见基础操作
    C# 利用ITextSharp导出PDF文件
    go常量
    ARP协议
    go数组
    go基本数据类型
  • 原文地址:https://www.cnblogs.com/tarencez/p/11725052.html
Copyright © 2020-2023  润新知