随笔分类 -  vue系列

摘要:theme: nico 1.安装 "monaco-editor": "^0.33.0",这个是package.json中的版本 npm install monaco-editor 2.在vite.config.js中配置 // 强制预构建插件包 optimizeDeps: { include: [ 阅读全文
posted @ 2022-05-10 14:58 A-zero 阅读(6576) 评论(0) 推荐(0)
摘要:1 module.exports = { 2 assetsDir: 'static', 3 parallel: false, 4 publicPath: './',//history模式注释掉此行,hash模式需要 5 6 productionSourceMap: false, 7 devServe 阅读全文
posted @ 2021-08-31 10:38 A-zero 阅读(1478) 评论(0) 推荐(0)
摘要:watch:{ $route:{ handler(nv,ov){ this.ifmb=true; } }, deep:true } 阅读全文
posted @ 2020-09-04 18:38 A-zero 阅读(3627) 评论(5) 推荐(0)
摘要:根目录下创建vue.config.js,内容 module.exports = { assetsDir: 'static', parallel: false, publicPath: './', productionSourceMap: false,//不生成map文件 } 阅读全文
posted @ 2020-09-04 18:34 A-zero 阅读(916) 评论(0) 推荐(1)