weex
weex copied to clipboard
is navigator url params support relative path?
for example ,i have a sample project,and i put them into examples directory.
|-modules | |----main.we |-common | |----index.we
now i want to navigator to main page from index page,but i tried use relative path ./modules/main.js,no effect.
only absolute path works.
navigator.push({
url:'http://30.10.216.55:12580/examples/build/xxx/modules/main.js',
'animated':'true'
},function(e){
});
Only absolute path works now, but we will consider your suggestion later.
See #497 Relative path.