weex icon indicating copy to clipboard operation
weex copied to clipboard

is navigator url params support relative path?

Open Rowandjj opened this issue 10 years ago • 2 comments

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){
            });

Rowandjj avatar Jun 15 '16 02:06 Rowandjj

Only absolute path works now, but we will consider your suggestion later.

boboning avatar Jun 16 '16 11:06 boboning

See #497 Relative path.

luics avatar Jun 16 '16 11:06 luics