How to compile starting screen content as well as panels from template engine

I have created a small app with framework v2 but not able to compile home page content from template engine
my routes.js file contains.

	{
	path: '/',
	
	templateUrl: './index.html',
	options:{
		context:{
			user:"abc"
		}
	}

},

and in index.html in

    <div class="page-content">
              {{user}}
            </div>

please help regarding this.

http://framework7.io/docs/view.html#initial-page-route

I have already classes .view-init to my .view-main div and attribute data-url="/" but i tried using javascript way also like you said.

app.views.create('.view-main', {
  url: '/'
})

but stil nothing happend