diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2025-04-27 12:03:11 -0600 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2025-04-27 12:03:11 -0600 |
commit | 9b54bad317b69d17134ddc27a5570984fba15826 (patch) | |
tree | 333e020e74fc0f423b958598c78b1d202dd2506c /client/src/index.js | |
parent | fa745c47d1fc08e149fb827b022dd19bb527092b (diff) |
initial commit - client
Diffstat (limited to 'client/src/index.js')
-rw-r--r-- | client/src/index.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/client/src/index.js b/client/src/index.js new file mode 100644 index 0000000..10d3d73 --- /dev/null +++ b/client/src/index.js @@ -0,0 +1,23 @@ +import React from 'react'; +import ReactDOM from 'react-dom/client'; +import './index.css'; +import App from './App'; +import reportWebVitals from './reportWebVitals'; +import { initVChartArcoTheme } from '@visactor/vchart-arco-theme'; + +initVChartArcoTheme({ + defaultMode: 'light', + isWatchingMode: true +}); + +const root = ReactDOM.createRoot(document.getElementById('root')); +root.render( + <React.StrictMode> + <App /> + </React.StrictMode> +); + +// If you want to start measuring performance in your app, pass a function +// to log results (for example: reportWebVitals(console.log)) +// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals +reportWebVitals(); |