Skip to content

Commit

Permalink
fix: TestBowser with Loadng.tsx error
Browse files Browse the repository at this point in the history
  • Loading branch information
kokiy committed Aug 30, 2024
1 parent 8f95914 commit d1cd574
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/preset-umi/templates/TestBrowser.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ import { createPluginManager } from './core/plugin';
import { getRoutes } from './core/route';
import type { Location } from 'history';

{{#loadingComponent}}
import Loading from '{{{ loadingComponent }}}';
{{/loadingComponent}}

{{{ importsAhead }}}
const publicPath = '/';
const runtimePublicPath = false;
Expand Down

0 comments on commit d1cd574

Please sign in to comment.