vue.resource 、axios、ajax

一、vue 支持开发者引入 jquery 使用 $.ajax() 一、首先,在 package.json 中添加 jQuery,而后 npm installvue "dependencies": { "jquery": "^3.2.1", }, 二、在 webpack.config.js ( 这边用的 vue-cli-simple 脚手架 )jquery // 增长一个plugins
相关文章
相关标签/搜索