zoukankan      html  css  js  c++  java
  • vue 移动端商城搭建 (一)

    第一步:安装  vue-cli3

      npm install -g @vue/cli
    第二步: 创建 工程
      vue create my-shop
    第三步:配置eslint
    下载 :
    npm install eslint-loader --save-dev; 下载
    npm install eslint --save-dev;

    第四步:再根目录下创建.eslintrc.js文件 添加规则;

    第五步:配置vscode 下载eslint

    第五步: 首先需要开启打开配置

     第六步:

    {
        "editor.fontSize": 18,
        "editor.tabSize": 2,
        "workbench.statusBar.visible": false,
        "files.autoSaveDelay": 10,
        "workbench.settings.useSplitJSON": true,    
        "files.autoSave": "off",
        "eslint.validate": [
            "javascript",
            "javascriptreact",
            "vue-html",
            {
                "language": "vue",
                "autoFix": true
            }
        ],
        "eslint.run": "onSave",
        "eslint.autoFixOnSave": true,
        "editor.codeActionsOnSave": {
            "source.fixAll.eslint": true
        },
    }

    放进去就可以了;





  • 相关阅读:
    2019.1.3 WLAN 802.11 a/b/g PHY Specification and EDVT Measurement II
    L215 Visual impairment
    2019.1.3 WLAN 802.11 a/b/g PHY Specification and EDVT Measurement I
    L213
    firewall端口放行
    数据库迁移之mysql-redis.txt
    sort
    linux注释多行
    解决Nginx+Tomcat下客户端https请求跳转成http的问题
    监控zookeeper
  • 原文地址:https://www.cnblogs.com/-youth/p/12350715.html
Copyright © 2011-2022 走看看