Vue ts开发环境之安装包

package.json

"devDependencies": {
    "@types/html-webpack-plugin": "^3.2.0",
    "@types/node": "^10.10.1",
    "@types/vue-router": "^2.0.0",
    "@types/webpack": "^4.4.11",
    "@types/webpack-dev-server": "^3.1.1",
    "autoprefixer": "^9.1.5",
    "axios": "^0.18.0",
    "cross-env": "^5.2.0",
    "css-loader": "^1.0.0",
    "element-ui": "^2.4.7",
    "file-loader": "^2.0.0",
    "html-webpack-plugin": "^3.2.0",
    "node-sass": "^4.9.3",
    "sass-loader": "^7.1.0",
    "style-loader": "^0.23.0",
    "ts-loader": "^5.1.1",
    "ts-node": "^7.0.1",
    "tslint": "^5.11.0",
    "typescript": "^3.0.3",
    "vue": "^2.5.17",
    "vue-axios": "^2.1.3",
    "vue-class-component": "^6.2.0",
    "vue-lazyload": "^1.2.6",
    "vue-loader": "^15.4.2",
    "vue-property-decorator": "^7.0.0",
    "vue-router": "^3.0.1",
    "vue-style-loader": "^4.1.2",
    "vue-template-compiler": "^2.5.17",
    "vuex": "^3.0.1",
    "vuex-class": "^0.3.1",
    "webpack": "^4.19.0",
    "webpack-cli": "^3.1.0",
    "webpack-dev-server": "^3.1.8"
  },

1.vue-loader,@types/vue-router:vue-touter及其类型定义

2.axios,vue-axios:axios是AJAX库,vue-axios为插件

3.vue-class-component:通过注解定义Vue组件属性的包

你可能感兴趣的:(vue)