We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
var deployRoot = '/static/xxx/xxx'; fis.hook('amd', { baseUrl: deployRoot, globalAsyncAsSync: true, forwardDeclaration: false }); 这样写了没有生效
The text was updated successfully, but these errors were encountered:
不是 deployRoot 而是源码里面的路径。编译期去查找的。
Sorry, something went wrong.
我的baseUrl貌似也不对,不是从根目录查找的
//fis-conf.js fis.hook('amd', { baseUrl: '/static/js/mods/' }); //order.vm require(['a'],function(a){})
访问http://127.0.0.1:8080/order/andr 请求的js路径为http://127.0.0.1:8080/order/static/js/mods/a.js
有demo吗?我现在不管是配置baseUrl,package还是不配置,引用模块时路径都不对。。搞不明白啊
No branches or pull requests
var deployRoot = '/static/xxx/xxx';
fis.hook('amd', {
baseUrl: deployRoot,
globalAsyncAsSync: true,
forwardDeclaration: false
});
这样写了没有生效
The text was updated successfully, but these errors were encountered: