webpack
Winlams
菜鸟程序猿
展开
-
Electron-vue-Electron Security Warning (Insecure Content-Security-Policy) 告警解决
方式一:index.html文件里设置安全策略在HTML主文件的头部引入安全策略的设置,采用如下设置,Electron的控制台就不会显示告警了:原创 2022-01-01 23:22:14 · 1050 阅读 · 0 评论 -
vue3中使用Elementui
1、安装elementplugsnpm install element-plus --save2,引用import { createApp,Vue } from 'vue' //**import ElementPlus from 'element-plus' //**import 'element-plus/lib/theme-chalk/index.css' //**import App from './App.vue'import router from './router'impor原创 2021-06-11 22:13:26 · 416 阅读 · 2 评论 -
vuerouter在history mode下刷新页面显示Cannot GET
1.配置history模式...export default new VueRouter({ mode: 'history', routes:[ { path:"/article/",name:'article',component:article, children:[ {path:"alist",component: alist} ] }, ]})这时候去访问http://localhost:8080/并且随便怎么搞点这点那都能显示原创 2021-05-29 10:09:34 · 3750 阅读 · 4 评论