我想用Mustache.js在客户端呈现页面,但它说没有定义胡子。我找到了一个答案,但很难理解,因为我刚刚开始学习网站/渲染等。为了学习,我需要解决这个问题,但我不知道我怎么做。window.open(data.redirect,"_self"); var html = Mustache.render
我正在尝试将胡子与requireJS和jQuery一起使用,而且由于Chrome控制台的输出是正确的,所以它似乎正在加载到浏览器中:<function (template, view: Mustache is not defined,并指向mustache.js文件本身中的第588行: return Mustache.render(templa