标签:jquer win 页面 pac 后台 tst element 组件 exp
>: cnpm install axios
import axios from 'axios'
Vue.prototype.$axios = axios;
>: cnpm install vue-cookies
import cookies from 'vue-cookies'
Vue.prototype.$cookies = cookies;
>: cnpm install element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
>: cnpm install jquery
>: cnpm install bootstrap@3
const webpack = require("webpack");
module.exports = {
configureWebpack: {
plugins: [
new webpack.ProvidePlugin({
$: "jquery",
jQuery: "jquery",
"window.jQuery": "jquery",
"window.$": "jquery",
Popper: ["popper.js", "default"]
})
]
}
};
import 'bootstrap'
import 'bootstrap/dist/css/bootstrap.min.css'
标签:jquer win 页面 pac 后台 tst element 组件 exp
原文地址:https://www.cnblogs.com/kai-/p/12368798.html