/*
|
* @Company: hugeInfo
|
* @Author: ldh
|
* @Date: 2022-02-14 11:54:07
|
* @LastEditTime: 2022-04-08 11:48:31
|
* @LastEditors: lwh
|
* @Version: 1.0.0
|
* @Description: 入口文件
|
*/
|
import React from 'react';
|
import ReactDOM from 'react-dom';
|
import reportWebVitals from './reportWebVitals';
|
import Routers from './router/router';
|
import { ConfigProvider } from 'antd';
|
import moment from 'moment';
|
import 'moment/locale/zh-cn';
|
import locale from 'antd/lib/locale/zh_CN';
|
import './styles/views.less';
|
|
ReactDOM.render(
|
<ConfigProvider locale={locale}>
|
<React.StrictMode>
|
<Routers />
|
</React.StrictMode>
|
</ConfigProvider>,
|
document.getElementById('root')
|
);
|
|
// If you want to start measuring performance in your app, pass a function
|
// to log results (for example: reportWebVitals(
|
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
reportWebVitals();
|