找回密码
 立即注册

QQ登录

只需一步,快速开始

吴工

金牌服务用户

1

主题

1

帖子

22

积分

金牌服务用户

积分
22
最新发帖
吴工
金牌服务用户   /  发表于:2023-12-18 13:33  /   查看:949  /  回复:1
[backcolor=rgba(0, 0, 0, 0.85)]./node_modules/@grapecity/activereports/lib/node_modules/@grapecity/ar-js-pdf.js 8:460555Module parse failed: Unexpected token (8:460555)You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
[backcolor=rgba(0, 0, 0, 0.85)]

[backcolor=rgba(0, 0, 0, 0.85)]加载器已安装, 还是不行   

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

1 个回复

倒序浏览
Felix.LiWyn认证
超级版主   /  发表于:2023-12-18 17:28:14
推荐
问题描述:

引用ar-vue,pdf.js报错没有loader

问题回复:
升级了一个东西的版本:

"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-service": "~4.5.0",

然后vue.config.js配置:


transpileDependencies: [
    '@grapecity/activereports/',
  ],

然后主动加载activeReport包下的JS即可




回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部