mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-24 02:30:13 +00:00
Initial KnockoutSpa template
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import * as ko from 'knockout';
|
||||
import * as router from '../../router';
|
||||
|
||||
class AppLayoutViewModel {
|
||||
public route = router.instance().currentRoute;
|
||||
}
|
||||
|
||||
export default { viewModel: AppLayoutViewModel, template: require('./app-layout.html') };
|
||||
Reference in New Issue
Block a user