使用layui出现Uncaught ReferenceError: layui is not defined
Initially confirmed the right path, the path is right, but it still has been reported layui.js 404, Baidu for a long time, finally know, layui.js although the path is correct, but is out of position, I intercept is set intercepts out, so the page could not be loaded
Is beginning to layui.js views on this folder underneath, they were intercepted and later placed on the layui.js js folder under this file, it has not been intercepted before it. The next time references js, css files to note that these have not been intercepted interceptor