vue.config.js配置

 chainWebpack(config) {
    config.externals({
      // 'monaco-editor': 'monaco-editor',
      'echarts': 'echarts' //页面需要直接引入echars
    })
npm run preview -- --report // 查看测试报告

  

posted on 2023-06-30 10:04  -韩帅  阅读(15)  评论(0编辑  收藏  举报

导航