Skip to content

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

@nf1994

Description

@nf1994

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions