我通过安装程序安装了一个新的盖茨比项目,但是当我试图在/src/pages中创建一个新文件时,浏览器说,如果是那样的话,
准备请求页面
在循环中。在浏览器控制台中,它输出:
[Error] Unhandled Promise Rejection: Error: We couldn't find the correct component chunk with the name "component---src-pages-home-js" (anonymous function) (loader.js:45) promiseReactionJob
这是我的home.j
我有以下的url管理规则,将非www流量重定向到www,然后重写一些url。它似乎工作得很好,除了当我转到"“时(没有www,第一个重定向案例- "^$")。我希望这会带来主页(这意味着它应该重定向到),但它却将我重定向到"“。谢谢你的帮助。
RewriteEngine On
RewriteBase "/prosite/"
# redirect non-www addresses to www
# redirect condition: hostname does NOT contain 2 or more dots
RewriteCond
我正在尝试创建一个菜单层,但是我在Chrome控制台上得到了这个错误:
MenuLayer is not defined
但这是我的menu.js,它定义了MenuLayer:
var MenuLayer = cc.LayerColor.extend({
ctor : function(){
//1. call super class's ctor function
this._super();
cc.associateWithNative( this, cc.LayerColor );
},
onEnter: