Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module/issue下的js文件都无法找到basePath #1

Open
nf1994 opened this issue Jun 14, 2016 · 0 comments
Open

module/issue下的js文件都无法找到basePath #1

nf1994 opened this issue Jun 14, 2016 · 0 comments

Comments

@nf1994
Copy link

nf1994 commented Jun 14, 2016

您好,
这是register.js里开头的一段代码,运行后就会提示basePath没有定义。
require.config({ baseUrl: basePath, paths: { all: 'public/js/all', md5: 'core/js/md5' } })

我在webstorm中不会报错,但是运行后在浏览器中打开就会有问题了。
请问如何解决呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant