Files
qihuaiflow/frontend/prerender-entry.tsx

12 lines
277 B
TypeScript

import React from 'react';
import { MemoryRouter } from 'react-router-dom';
import LandingPage from '@/pages/front/LandingPage';
export function App() {
return React.createElement(
MemoryRouter,
{ initialEntries: ['/'] },
React.createElement(LandingPage)
);
}