zoukankan      html  css  js  c++  java
  • 附录-快速安装 Vue 3.0 依赖

    1. 安装路由

    npm i vue-router@next -D

    2.安装Vuex

    npm i vuex@next -D

    3.安装sass

    npm i -D sass

    4.vscode 支持 eslint

    npm install --save-dev eslint eslint-loader babel-eslint eslint-friendly-formatter eslint-config-standard eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node eslint-plugin-html eslint-config-airbnb-base

    5.安装mockjs

    npm i -D mockjs

    6.安装axios

    npm i -D axios

     

    package.json 配置文件

    {
      "name": "vue3-vite",
      "version": "0.0.0",
      "scripts": {
        "dev": "vite",
        "build": "vite build"
      },
      "dependencies": {
        "vue": "^3.0.0-rc.1"
      },
      "devDependencies": {
        "@vue/compiler-sfc": "^3.0.0-rc.1",
        "axios": "^0.20.0",
        "babel-eslint": "^10.1.0",
        "eslint": "^7.9.0",
        "eslint-config-airbnb-base": "^14.2.0",
        "eslint-config-standard": "^14.1.1",
        "eslint-friendly-formatter": "^4.0.1",
        "eslint-loader": "^4.0.2",
        "eslint-plugin-html": "^6.1.0",
        "eslint-plugin-import": "^2.22.0",
        "eslint-plugin-node": "^11.1.0",
        "eslint-plugin-promise": "^4.2.1",
        "eslint-plugin-standard": "^4.0.1",
        "mockjs": "^1.1.0",
        "sass": "^1.26.11",
        "vite": "^1.0.0-rc.1",
        "vue-router": "^4.0.0-beta.11",
        "vuex": "^4.0.0-beta.4"
      }
    }
  • 相关阅读:
    大话设计模式--建造者模式 Builder -- C++实现实例
    HTTP状态码大全
    安装mongodb卡顿
    sublime_win配置
    sublime__最全面的 Sublime Text 使用指南
    sublime text 3搭建python 的ide
    spring boot与 spring.factories
    自定义xml spring bean
    统计分析: 跨库多表join
    java基础
  • 原文地址:https://www.cnblogs.com/CGWTQ/p/14528711.html
Copyright © 2011-2022 走看看