It was normal when working at a sever. After compiling, nothing loads anymore. It doesn’t give an error either. I think the problem might be in the routes.
<div id="app">
<!-- main view -->
<div class="view view-main safe-areas" data-url="/"></div>
</div> <!-- /#app -->
app.views.create(".view-main", {
masterDetailBreakpoint: 720,
routes: [
{
name: "login",
path: "/",
component: LoginComponent
},
{
name: "home",
path: "/home",
component: HomeComponent,
master: true,
detailRoutes: [
{
name: "mail",
path: "/mail/:msgid",
component: MailComponent
}
]
}
]
});
My address in the browser: file:///home/chronos/u-123456/MyFiles/other/index.html
I’m sure all the resources are loaded. I’ve also seen it work by adding a console.log
to the script.