config#PUBLIC_URL TypeScript Examples
The following examples show how to use
config#PUBLIC_URL.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: App.tsx From lightning-terminal with MIT License | 6 votes |
App = () => {
const store = createStore();
return (
<FullHeight>
<StoreProvider store={store}>
<ThemeProvider>
<Suspense fallback={<Loading delay={500} />}>
<HistoryRouter basename={PUBLIC_URL} history={store.router.history}>
<AppRoutes />
<AlertContainer />
<TourHost />
</HistoryRouter>
</Suspense>
</ThemeProvider>
</StoreProvider>
</FullHeight>
);
}