您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

index.js 699B

12345678910111213141516171819202122
  1. import React from 'react';
  2. import ReactDOM from 'react-dom/client';
  3. import './index.css';
  4. import App from './App';
  5. import '@fontsource/roboto/300.css';
  6. import '@fontsource/roboto/400.css';
  7. import '@fontsource/roboto/500.css';
  8. import '@fontsource/roboto/700.css';
  9. // import reportWebVitals from './reportWebVitals';
  10. const root = ReactDOM.createRoot(document.getElementById('root'));
  11. root.render(
  12. <React.StrictMode>
  13. <App />
  14. </React.StrictMode>
  15. );
  16. // // If you want to start measuring performance in your app, pass a function
  17. // // to log results (for example: reportWebVitals(console.log))
  18. // // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
  19. // reportWebVitals();