作者你好, 在uniapp开发中,使用vue2版本编译,`var nzhcn = require("nzh/cn")`正常, 使用vue3编译,报错:`module 'pages/index/nzh/cn.js' is not defined, require args is 'nzh/cn'` 看起来是路径问题,我改成相对路径依然还是报错,请问这个是哪里的问题呢。 前端小白一个,还请帮忙一下,谢谢
作者你好,
在uniapp开发中,使用vue2版本编译,
var nzhcn = require("nzh/cn")正常,使用vue3编译,报错:
module 'pages/index/nzh/cn.js' is not defined, require args is 'nzh/cn'看起来是路径问题,我改成相对路径依然还是报错,请问这个是哪里的问题呢。
前端小白一个,还请帮忙一下,谢谢