Files
004_comission/_resources/it114105/itp4506/Assignment/20-21/src/index.js
louiscklaw 6c60a73f30 update,
2025-01-31 19:15:17 +08:00

18 lines
515 B
JavaScript

import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import Router from './AppRouter';
import * as serviceWorker from './serviceWorker';
ReactDOM.render(
<React.StrictMode>
<Router />
</React.StrictMode>,
document.getElementById('root')
);
// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
serviceWorker.unregister();