Skip to content

Commit

Permalink
fix: TestBowser with Loadng.tsx error (#12669)
Browse files Browse the repository at this point in the history
  • Loading branch information
kokiy authored Sep 20, 2024
1 parent b34a372 commit c713c97
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 c713c97

Please sign in to comment.