获取您的 React 服务器
import React from 'react';
import ReactDOM from 'react-dom/client';
import Car from './Car.js';

const container = document.getElementById('root');
const root = ReactDOM.createRoot(container);
root.render(<Car />);

              
localhost:3000