zoukankan      html  css  js  c++  java
  • 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. 解决开发环境启动时打开两次页面问题

  • 相关阅读:
    [原创] Laravel 启动流程
    修改电脑的TTL返回值
    Apache启动错误解决方法
    RemodelanyWhere11.0.2673版本下载
    函数指针
    指针与数组
    青蛙跳台阶
    旋转数组的最小数字
    对大量人的年龄排序
    泛型算法一
  • 原文地址:https://www.cnblogs.com/tarencez/p/11725052.html
Copyright © 2011-2022 走看看