index.js 708 B

123456789101112131415161718192021
  1. import 'bootstrap/dist/css/bootstrap.css';
  2. // Put any other imports below so that CSS from your
  3. // components takes precedence over default styles.
  4. import React from 'react';
  5. import ReactDOM from 'react-dom/client';
  6. import './index.css';
  7. import reportWebVitals from './reportWebVitals';
  8. import HomePage from "./home"
  9. const root = ReactDOM.createRoot(document.getElementById('root'));
  10. root.render(
  11. <React.StrictMode>
  12. <HomePage prefix="test" />
  13. </React.StrictMode>
  14. );
  15. // If you want to start measuring performance in your app, pass a function
  16. // to log results (for example: reportWebVitals(console.log))
  17. // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
  18. reportWebVitals();