import React from 'react'
|
|
import ReactDOM from 'react-dom/client'
|
|
import 'antd/dist/reset.css'
|
|
import './index.css'
|
|
import App from './App.tsx'
|
|
import _service from '@netuno/service-client';
|
|
|
|
import store from './store.ts'
|
|
import { Provider } from 'react-redux'
|
|
|
|
_service.config({
|
|
prefix: 'http://localhost:9000/services/'
|
|
});
|
|
|
|
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
|
|
<React.StrictMode>
|
|
<Provider store={store}>
|
|
<App/>
|
|
</Provider>
|
|
</React.StrictMode>,
|
|
)
|