mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-25 02:57:31 +00:00
Demonstrate lazy-loading for Webpack-bundled KO components
This commit is contained in:
@@ -3,6 +3,7 @@ import 'bootstrap/dist/css/bootstrap.css';
|
||||
import './css/site.css';
|
||||
import * as ko from 'knockout';
|
||||
import { createHistory } from 'history';
|
||||
import './webpack-component-loader';
|
||||
|
||||
// Load and register the <app-root> component
|
||||
ko.components.register('app-root', require('./components/app-root/app-root').default);
|
||||
|
||||
Reference in New Issue
Block a user