Searchbar not work on subpage

Is there something special I need to do if searchbar is on a subpage i.e.
{
path: ‘/browse/’,
url: ‘./pages/browse.html’,
},

If I run that page directly it functions perfectly. If I go to it through my index.html page the box doesn’t darken the rest of the page when I click in it or filter the list when I type something. My browse page is an exact copy of http://framework7.io/docs-demos/core/searchbar.html execpt I am hosting the framework7.js and css (Version 3.0.1).

Thanks,
Brett

If you can share your code (at least a snip of the troubled area) would help. Jfiddle?