说明
在使用easyui-vue版本时,按官方文档构建的页面不显示,一片空白。控制台报You are using the runtime-only build of Vue where the template compiler is not available.错误。
完整错误提示
[Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.
解决方法
修改 vue.config.js
配置
runtimeCompiler: true,
uniHTML2框架的修改,参考 uni_config/extra/easyui.js
配置文件
参考链接:https://zhengkai.blog.csdn.net/article/details/107182655